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