LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Where can I get "libstdc++.so.3" ? (https://www.linuxquestions.org/questions/linux-newbie-8/where-can-i-get-libstdc-so-3-a-279755/)

cbrockwell 01-19-2005 11:25 AM

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 . . . . .

:Pengy:

__J 01-19-2005 11:31 AM

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?

cbrockwell 01-19-2005 11:57 AM

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.

__J 01-19-2005 12:07 PM

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

cbrockwell 01-20-2005 08:04 AM

Many thanks.

Found the file in a package, installed to my MQ directory and the application works fine
(or it will do soon enough !).


:p

jmonatsys0 02-01-2005 06:21 AM

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.

ethutch 02-07-2005 06:34 AM

I found it here:

http://rpmfind.net//linux/RPM/redhat....4-1.i386.html

xyli888 02-16-2005 06:45 PM

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:49 AM.