LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-20-2005, 12:08 PM   #1
schulze
LQ Newbie
 
Registered: Nov 2005
Posts: 2

Rep: Reputation: 0
libstdc++ help needed


Hi, im trying to run a compiler for a language that was stopped in 1999. When I type the command the run it I get the following error:

blue: error while loading shared libraries: libstdc++.so.2.8: cannot open shared object file: No such file or directory.

I assume to run the compiler I need to have libstdc++ 2.8 but I have libstdc++-3.3.3-7 now. I tried to do the following:

# rpm -i libstdc++-2.8.1-1.i386.rpm

but i got the following error:

package libstdc++-3.3.3-7 (which is newer than libstdc++-2.8.1-1) is alread installed

How can I go about getting stdlib++ 2.8 to work on my machine so that I can use the compiler that requires it. THANKS!!!

P.S. I am using fedora core 2 if this helps any
 
Old 11-20-2005, 12:23 PM   #2
wojtekjs
LQ Newbie
 
Registered: Nov 2005
Distribution: Fedora 10
Posts: 23

Rep: Reputation: 15
Don't now if I can help, but try to make symbolic link to the library. Or You can ty to compile this library from source.
 
Old 11-20-2005, 12:26 PM   #3
schulze
LQ Newbie
 
Registered: Nov 2005
Posts: 2

Original Poster
Rep: Reputation: 0
how would i do this? I am very new to linux
 
Old 11-20-2005, 12:49 PM   #4
wojtekjs
LQ Newbie
 
Registered: Nov 2005
Distribution: Fedora 10
Posts: 23

Rep: Reputation: 15
Try:
Code:
ln -s /path/libstdc++.so.2.8 /path/libstdc++.so.3.3...
or in the different order Never remember. It can help if the ./configure script checks just if the library exist in the specific location and if this new lib is compatible with the old one.
If You want to compile library firs find it source code & unpack it. Than just compile it as it is said in INSTALLATION file.You know how to compile?
First should work...
 
  


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
FC4 doesn't have libstdc++.so.5 but libstdc++.so.6 baosheng Fedora 14 04-06-2008 11:08 AM
libstdc++.so.6 ecion Mandriva 12 12-09-2004 11:23 AM
mismatched rpm versions of libstdc++ and libstdc++-devel pcweirdo Linux - Software 8 11-29-2004 10:30 AM
libstdc++-libc6.2-2.so.3 needed Weirdofreak Mandriva 1 09-18-2004 11:46 AM
Old Libstdc++ needed - But Conflicts - Help!! zer0snr Linux - Newbie 1 05-13-2004 07:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:34 PM.

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