Linux - NewbieThis 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.
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.
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.
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?
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.