LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   libgcc_s.so.1 must be installed for pthread_cancel to work (https://www.linuxquestions.org/questions/linux-newbie-8/libgcc_s-so-1-must-be-installed-for-pthread_cancel-to-work-4175474124/)

sryzdn 08-21-2013 05:57 AM

libgcc_s.so.1 must be installed for pthread_cancel to work
 
Hi,

I am working on fedora 19, x64-86. I have installed a binary called deneb but when I want to execute it I receive the following error:

Quote:

libgcc_s.so.1 must be installed for pthread_cancel to work
./run.sh: line 1: 6166 Aborted (core dumped) ./deneb_TRIAL_linux ./deneb.cfg
I searched the web to find a solution, but for me, they do not workout because I always receive this message that I have libgcc installed. Here is where the libraries located:

Quote:

$ locate libgcc
/usr/lib/gcc/x86_64-redhat-linux/4.8.1/libgcc.a
/usr/lib/gcc/x86_64-redhat-linux/4.8.1/libgcc_eh.a
/usr/lib/gcc/x86_64-redhat-linux/4.8.1/libgcc_s.so
/usr/lib/gcc/x86_64-redhat-linux/4.8.1/32/libgcc.a
/usr/lib/gcc/x86_64-redhat-linux/4.8.1/32/libgcc_eh.a
/usr/lib/gcc/x86_64-redhat-linux/4.8.1/32/libgcc_s.so
/usr/lib64/libgcc_s-4.8.1-20130603.so.1
/usr/lib64/libgcc_s.so.1
/usr/lib64/libgccpp.so.1
/usr/lib64/libgccpp.so.1.0.3
/usr/lib64/libreoffice/ure/lib/libgcc3_uno.so
/usr/share/doc/libgcc-4.8.1
/usr/share/doc/libgcc-4.8.1/COPYING
/usr/share/doc/libgcc-4.8.1/COPYING.LIB
/usr/share/doc/libgcc-4.8.1/COPYING.RUNTIME
/usr/share/doc/libgcc-4.8.1/COPYING3
/usr/share/doc/libgcc-4.8.1/COPYING3.LIB
I would be very grateful to have your kind suggestions.

knudfl 08-21-2013 07:09 AM

Quote:

/usr/lib64/libgcc_s.so.1
Please check the executable with the 'file' command :

$ file deneb

... Maybe it's 32bits ?

sryzdn 08-21-2013 08:32 AM

Quote:

Originally Posted by knudfl (Post 5013057)
Please check the executable with the 'file' command :

$ file deneb

... Maybe it's 32bits ?

exactly, it is 32 bits. But still following the solution below for 32 bits does not solve the problem:

http://nixcraft.com/centos-rhel-fedo...ncel-work.html

How could I have libgcc 32 bits? I always receive the message that I have it installed :\

knudfl 08-21-2013 10:02 AM

# 3 . OK, a 32bits executable.

Finding a package that provides libgcc_s.so.1 : $ yum provides */libgcc_s.so.1
( Or $ yum search libgcc )

Installing the 32bits libgcc_s : # yum install libgcc.i686
... Provides /lib/{ libgcc_s.so.1 -> libgcc_s-4.8.1-20130603.so.1 }

The Fedora 19 package index http://dl.fedoraproject.org/pub/fedo...4/os/Packages/
Updates http://dl.fedoraproject.org/pub/fedo...tes/19/x86_64/

-

sryzdn 08-21-2013 10:41 AM

Thanks, but I encountered another problem executing the file. In the log there's an error like below:

Quote:

INFO:13-08-21@20_09_30PM-->::[************* INI DENEB ******************]
ERROR:13-08-21@20_09_30PM-->#:#:java.lang.UnsatisfiedLinkError: exception occurred in JNI_OnLoad
ERROR:13-08-21@20_09_30PM-->#:#:java.lang.NoClassDefFoundError: java.awt.EventQueue
I will be grateful if you help me solve this too.

knudfl 08-21-2013 10:59 AM

#5.

? This DENEB ? https://www.atelgraphics.com/index.p...ategory/3-core

The version I know has a start script that sets? the Java PATH's
(classpath), etc. etc. :
$ sh run.sh


-

sryzdn 08-21-2013 12:01 PM

Quote:

Originally Posted by knudfl (Post 5013174)
#5.

? This DENEB ? https://www.atelgraphics.com/index.p...ategory/3-core

The version I know has a start script that sets? the Java PATH's
(classpath), etc. etc. :
$ sh run.sh


-

sh run.sh also gives out the same error. Where's that script to edit Java Path?

knudfl 08-21-2013 12:58 PM

# 7 .

$ cd Deneb**/
$ grep -Rin classpath *
Binary file deneb_TRIAL_linux matches
Binary file rt/jetrt/libxlink760.so matches
Binary file rt/lib/resources.jar matches
Binary file rt/lib/rt.jar matches
rt/lib/logging.properties:15:# Note that these classes must be on the system classpath.

... Looks like it's hard coded into the executable deneb*, etc.
... Which means you will have to execute the start script in the Deneb*/ folder.
Your post #1 says ""I have installed a binary called deneb"".
Does it mean that the application originally was installed on another OS ? ?
And that your DENEB is a copy ?

Note : DENEB works OK on my Fedora 19 : No java is installed.

-

sryzdn 08-22-2013 03:02 AM

I also never had such problems installing DENEB on fedora. This has occured this time.

What I do is:
1. download the trial version from the website,
2. I copy it in a directory called DENEB
2. I change the binary file mode: chmod +x DENEB_1.26.0_trial_SiesPlug_Linux_setup.bin
3. Then I execute ./DENEB_1.26.0_trial_SiesPlug_Linux_setup.bin
4. I type yes and . to install it
5. I run ./run.sh

Is there anything I am doing wrong?
I never received a compain on libgcc 32bits or java before !!!!!!!!!!

sryzdn 08-23-2013 12:19 AM

Quote:

sudo yum install java-1.8.0-openjdk.i686
solved my problem


All times are GMT -5. The time now is 08:52 PM.