LinuxQuestions.org
Help answer threads with 0 replies.
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 12-06-2004, 10:12 AM   #1
darrenjhopkins
LQ Newbie
 
Registered: Oct 2004
Posts: 15

Rep: Reputation: 0
Question libstdc++ can't be found


Hey all,

I'm having some trouble getting an app of mine to run on Mandrake 10.
When I try and run the binary it comes up with "error while loading shared libraries: libstdc++-libc6.2-2.so.3 cannot open shared object file : no such file or directory"

If I do a ldd on the executable, it lists libstdc++-libc6.2-2.so.3 => not found.
I guess you don't need to have a Phd to figure out that it can't find the libstdc++ library, but shouldn't the be installed by default?

I have gcc installed (which gcc => /usr/bin/gcc )
Anyone know where I can get libstdc++

and also..is this happening because the binary was compiled against a different version of libstdc++?

Many thanks!
 
Old 12-06-2004, 10:24 AM   #2
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Rep: Reputation: 30
SInce you're running mandrake, try this:

urpmi libstdc++

or

urpmi libstdc

and see if that gives you anything....

Good luck...
 
Old 12-06-2004, 10:32 AM   #3
darrenjhopkins
LQ Newbie
 
Registered: Oct 2004
Posts: 15

Original Poster
Rep: Reputation: 0
output is:

# urpmi libstdc++
Everything already installed

#urpmi libstdc
The following packages contain libstdc:
libstdc++2.10
libstdc++2.10-devel
libstdc++5
libstdc++5-devel
libstdc++5-static devel

So I'm guessing everything has been installed?

doing which c++ lists /usr/bin/c++ so I'm pretty sure everything is there too. Seems odd that it is having issues with libstdc++

If I try do a find on libstdc++ it doesn't bring anything found.
 
Old 12-06-2004, 04:02 PM   #4
laceupboots
Member
 
Registered: Dec 2003
Location: Houston
Distribution: Windows Vista/ XP/ Mepis
Posts: 304

Rep: Reputation: 30
Install libstd2.10-2.96
which can be found here
http://rpmfind.net/linux/rpm2html/se...Mandrake&arch=
This has the libstdc++ library that you are looking for.
 
Old 12-07-2004, 04:10 AM   #5
darrenjhopkins
LQ Newbie
 
Registered: Oct 2004
Posts: 15

Original Poster
Rep: Reputation: 0
Aha! Muchos appreciate hombre'
 
Old 12-07-2004, 09:24 AM   #6
laceupboots
Member
 
Registered: Dec 2003
Location: Houston
Distribution: Windows Vista/ XP/ Mepis
Posts: 304

Rep: Reputation: 30
Your welcome and I'm a senorita.
 
  


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
libstdc++.so.5:version GLIBCPP_3.2 not found error RaviPrakash Linux - General 1 09-28-2005 02:28 PM
libstdc++-libc6.2.2.so.3 not found dennisparrott Linux - Software 3 01-24-2005 07:10 AM
mismatched rpm versions of libstdc++ and libstdc++-devel pcweirdo Linux - Software 8 11-29-2004 10:30 AM
libstdc++ not found, though installed GTBlackwell Linux - Software 4 07-10-2004 03:33 PM
/usr/lib/libstdc++.so.5: version 'GLIBCPP_3.2.2' not found vidi Linux - Software 1 06-10-2004 10:26 AM


All times are GMT -5. The time now is 04:22 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