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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-19-2005, 12:25 PM
|
#1
|
LQ Newbie
Registered: Jan 2005
Posts: 4
Rep:
|
Where can I get "libstdc++.so.3" ?
I am building an application that uses MQSeries for Linux (intel).
I have managed to get the application to build, but when I try executing it I get the following error :
"error while loading shared libraries: libstdc++.so.3: cannot open shared object file: No such file or directory"
Can anybody tell me where I can find/download a copy of this file from.
Thanks in advance . . . . .

|
|
|
01-19-2005, 12:31 PM
|
#2
|
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973
Rep:
|
If I understand you correctly you built it from source? If so make sure the gcc libs are in your /etc/fstab file and run "ldconfig" (as root). when g++ builds a binary, it will link with whatever libstdc++ is on your system.
If thats not the case, you will have to give a little more information....
distro?
version of gcc?
do you have g++ installed?
|
|
|
01-19-2005, 12:57 PM
|
#3
|
LQ Newbie
Registered: Jan 2005
Posts: 4
Original Poster
Rep:
|
Thanks.
I understand from the MQSeries documentation that MQSeries is dependant on this particular version of the stdc++ shared object.
I'm using version 3.2.3 of the gcc compiler on Linux RHAS 3.2.3-42. Yes, I do have g++ installed. I have lots of other versions (eg. 'libstdc++.so.5', 'libstdc++.so.2.7.2' etc .....), but not 'libstdc++.so.3'.
I think there's an inbuilt dependancy in the MQSeries libraries for this shared object.
To clarify : I am using pre-built MQSeries libraries in my own application.
|
|
|
01-19-2005, 01:07 PM
|
#4
|
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973
Rep:
|
check with the package manager and see if it has a package for a gcc-libs or g++-libs package, if you can't find one, you could get one from the net (do a google search ) but i wouldn't install the rpm, I would extract the file you need, put it in the MQSeries directory and add that directory to your LD_LIBRARY_PATH
|
|
|
01-20-2005, 09:04 AM
|
#5
|
LQ Newbie
Registered: Jan 2005
Posts: 4
Original Poster
Rep:
|
Many thanks.
Found the file in a package, installed to my MQ directory and the application works fine
(or it will do soon enough !).

|
|
|
02-01-2005, 07:21 AM
|
#6
|
LQ Newbie
Registered: Nov 2004
Posts: 5
Rep:
|
May I please inquire: in what package did you find the libstdc++.so.3 file? I seem to have exactly the same problem.
Cheers,
Jantje.
|
|
|
02-07-2005, 07:34 AM
|
#7
|
LQ Newbie
Registered: Feb 2005
Posts: 1
Rep:
|
Last edited by ethutch; 02-07-2005 at 07:36 AM.
|
|
|
02-16-2005, 07:45 PM
|
#8
|
LQ Newbie
Registered: Feb 2005
Posts: 1
Rep:
|
I meet the same question. But with your link I can not fine the file .Can you mail me one copy?
Thanks. my mail:lxy@036.com.cn.
Thanks again.
|
|
|
All times are GMT -5. The time now is 06:46 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|