LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-21-2013, 06:57 AM   #1
sryzdn
Member
 
Registered: Feb 2013
Posts: 253

Rep: Reputation: 1
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.
 
Old 08-21-2013, 08:09 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

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

$ file deneb

... Maybe it's 32bits ?
 
Old 08-21-2013, 09:32 AM   #3
sryzdn
Member
 
Registered: Feb 2013
Posts: 253

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by knudfl View Post
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 :\
 
Old 08-21-2013, 11:02 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
# 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/

-

Last edited by knudfl; 08-21-2013 at 11:48 AM.
 
Old 08-21-2013, 11:41 AM   #5
sryzdn
Member
 
Registered: Feb 2013
Posts: 253

Original Poster
Rep: Reputation: 1
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.
 
Old 08-21-2013, 11:59 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
#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


-

Last edited by knudfl; 08-21-2013 at 12:05 PM.
 
Old 08-21-2013, 01:01 PM   #7
sryzdn
Member
 
Registered: Feb 2013
Posts: 253

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by knudfl View Post
#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?
 
Old 08-21-2013, 01:58 PM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
# 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.

-
 
Old 08-22-2013, 04:02 AM   #9
sryzdn
Member
 
Registered: Feb 2013
Posts: 253

Original Poster
Rep: Reputation: 1
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 !!!!!!!!!!
 
Old 08-23-2013, 01:19 AM   #10
sryzdn
Member
 
Registered: Feb 2013
Posts: 253

Original Poster
Rep: Reputation: 1
Quote:
sudo yum install java-1.8.0-openjdk.i686
solved my problem
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] pthread_cancel doesn't work sshh2010_2020 Programming 4 12-16-2010 09:16 AM
pthread_cancel not working lipun4u Programming 5 12-12-2010 12:18 PM
libgcc_s.so1 must be installed <---- Need Help on that Fronix Linux - Server 3 11-19-2008 03:09 PM
libgcc_s.so.1 must be installed for pthread_cancel to work dlinux Slackware 2 10-11-2008 06:51 PM
Libgcc_s.so.1 is not installed londonboi Linux - Software 2 08-08-2003 01:35 PM


All times are GMT -5. The time now is 09:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration