LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-19-2005, 12:25 PM   #1
cbrockwell
LQ Newbie
 
Registered: Jan 2005
Posts: 4

Rep: Reputation: 0
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 . . . . .

 
Old 01-19-2005, 12:31 PM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
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?
 
Old 01-19-2005, 12:57 PM   #3
cbrockwell
LQ Newbie
 
Registered: Jan 2005
Posts: 4

Original Poster
Rep: Reputation: 0
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.
 
Old 01-19-2005, 01:07 PM   #4
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
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
 
Old 01-20-2005, 09:04 AM   #5
cbrockwell
LQ Newbie
 
Registered: Jan 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Thumbs up

Many thanks.

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


 
Old 02-01-2005, 07:21 AM   #6
jmonatsys0
LQ Newbie
 
Registered: Nov 2004
Posts: 5

Rep: Reputation: 0
Question

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.
 
Old 02-07-2005, 07:34 AM   #7
ethutch
LQ Newbie
 
Registered: Feb 2005
Posts: 1

Rep: Reputation: 0
I found it here:

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

Last edited by ethutch; 02-07-2005 at 07:36 AM.
 
Old 02-16-2005, 07:45 PM   #8
xyli888
LQ Newbie
 
Registered: Feb 2005
Posts: 1

Rep: Reputation: 0
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.
 
  


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
bash script: using "select" to show multi-word options? (like "option 1"/"o zidane_tribal Programming 7 12-19-2015 02:03 AM
what is "sticky bit mode" , "SUID" , "SGID" augustus123 Linux - General 10 08-03-2012 05:40 AM
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 12:26 PM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 04:07 PM
Realplayer claims it can't find "libstdc++.so.5" mynameisflorian Linux - Software 7 10-26-2005 12:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:46 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
Open Source Consulting | Domain Registration