LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 09-23-2005, 09:20 AM   #1
wkuk
LQ Newbie
 
Registered: Apr 2003
Posts: 4

Rep: Reputation: 0
Missing libstdc++.so.6 executing 3rd party binary


I have two versions of the binary file that i would like to successfully execute under Gentoo.
One version was compiled by the vendor /w gcc33 claiming to run under Debian 3.1, SuSE 9.3 and Fedora Core3.
Another is for MacOS and Linux (general)

I am currently using Gentoo 2005.1 (X86) with gcc3.3.6 & glibc2 - 2.3.5.
When i try to execute either version of the program i get the following message:

1) gcc33 binary: error while loading shared libraries: libstdc++.so.6 can not open shared object file: No such file or directory.

2) general Linux binary: symbol __lib_sigaction version GLIBC_2.2 not defined in file libc.so.6 with link time reference.

Already tried the following ...
emerge lib-compat
emerge --update --deep world
emerge --depclean
revdep-rebuild
and still not working.

Some helpful info..

I run a search for libstdc++.so.6 on the system and file could't be found.
I also found /lib/libc.so.6 linked to libc-2.3.5.so
/usr/lib/libstdc++-libc6.2-2.so.3 linked to libstdc++-3-libc6.2-2-2.10.0.so

output of /etc/env.d/05gcc...

PATH="/usr/i386-pc-linux-gnu/gcc-bin/3.3.6"

ROOTPATH="/usr/i386-pc-linux-gnu/gcc-bin/3.3.6"

MANPATH="/usr/share/gcc-data/i386-pc-linux-gnu/3.3.6/man"

INFOPATH="/usr/share/gcc-data/i386-pc-linux-gnu/3.3.6/info"

LDPATH="/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.6

GCC_SPECS=""


Is LD_LIBRARY_PATH the same as LDPATH in Gentoo?
Is that mean i have to upgrade to gcc3.4 with libsstdc++-v3 for the gcc33 binary to work? What about the other binary, it should work?
It is very important for me to get this program working under Gentoo as i like this distro a lot, but so far i struggling trying to get at least one of those programs to work. Any help is much appreciated!

Wes
 
Old 09-23-2005, 04:07 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,537

Rep: Reputation: 149Reputation: 149
Before updates I'd try if it works with a simplier trick. Create a symlink to /usr/lib/libstdc++-libc6.2-2.so.3 with the name /usr/lib/libstdc++.so.6

You have high chances to make it work this way.
 
  


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
Assessing 3rd-party packages dhave Slackware 2 07-21-2005 06:22 AM
how to install 3rd party .deb SlipAway172 Ubuntu 1 05-12-2005 09:53 PM
Safety of 3rd party cd's robby737 Linux - Security 5 06-16-2004 11:04 AM
3rd party Mandrake DVDs? jenna_h Mandriva 2 06-10-2004 08:27 PM
Did you know You don't need 3rd party FTP clients and servers? Paul Parr Linux - Newbie 11 05-05-2003 06:21 PM


All times are GMT -5. The time now is 03:47 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration