LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-02-2005, 01:07 PM   #1
Cake
LQ Newbie
 
Registered: Jan 2004
Location: UK
Distribution: Fedora Core 3
Posts: 27

Rep: Reputation: 15
libstdc++.so.5


Hello. There are various programs I am trying to compile at the moment on Fedora Core 3. They return the error that they cannot find

libstdc++.so.5

I notice that I have libstdc++.so.6 in /usr/lib. Can anybody help?
 
Old 03-02-2005, 03:10 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
i assume your compiler is new like 3.4.1 or so
i think the solution is to get a copy of the latest cvs version of
"Beyond Linux From Scratch" book
and follow the instructions to build GCC-3.3.4 as an extra compiler
afterward you might have to use the instructions at the bottom about altering PATH to point to the alternative gcc first in order to compile the package against libstdc++.so.5
for packages that just need the libs at runtime this will also create that
 
Old 04-12-2005, 09:29 AM   #3
contiang
Member
 
Registered: Dec 2004
Location: malaysia
Distribution: Redhat-7.2, VectorLinux-5.0 Standard
Posts: 46

Rep: Reputation: 15
is there any other way to get the libstdc++.so.5 rather than build the newest GCC?
 
Old 04-12-2005, 09:39 AM   #4
R00ts
Member
 
Registered: Mar 2004
Location: Austin TX, USA
Distribution: Ubuntu 11.10, Fedora 16
Posts: 547

Rep: Reputation: 30
I had this problem when I was trying to compile my game project this weekend. Well it wasn't really a problem, but it spit out some warning at me after it compiled. I'm using the Debian repository packages and I installed gcc (which installed gcc3.3) and I saw that there was gcc 3.4 so I installed that as well, then later when to /usr/bin and changed the gcc symbolic link to point to gcc3.4 instead of 3.3. I'm not completely sure, but I think gcc3.4 uses libstdc++.6.0 and gcc3.3 uses libstdc++.5.0 or something.


My quick and dirty solution to the problem was just to uninstall gcc3.4 and reinstall gcc and then everything was fine. Not the best solution by any means, but I had a lot of work to get done so I didn't want to deal with library/compiler issues.
 
Old 04-12-2005, 09:52 AM   #5
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
I think you need compat-libstdc++.
 
Old 04-13-2005, 12:10 AM   #6
contiang
Member
 
Registered: Dec 2004
Location: malaysia
Distribution: Redhat-7.2, VectorLinux-5.0 Standard
Posts: 46

Rep: Reputation: 15
Quote:
Originally posted by reddazz
I think you need compat-libstdc++.
what is compat-libstdc++ actually?
 
Old 04-13-2005, 01:24 AM   #7
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Do a search on google or the Redhat site for a more accurate description of what it does. All I know is that it provides some packages that are needed by gcc for c++ stuff.
 
  


Reply



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 10:08 AM
libstdc++.so.6 MylesCLin Slackware 6 01-01-2005 06:52 AM
libstdc++.so.6 ecion Mandriva 12 12-09-2004 10:23 AM
mismatched rpm versions of libstdc++ and libstdc++-devel pcweirdo Linux - Software 8 11-29-2004 09:30 AM
libstdc++ ponkanMonster Linux - Newbie 2 10-11-2004 04:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:58 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
Open Source Consulting | Domain Registration