Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-27-2004, 08:38 AM   #1
LQ Newbie
Registered: May 2004
Posts: 1

Rep: Reputation: 0
g++ missing shared objects

I suspect that this isn't difficult, but I'm stumped. Sorry if it is too easy.

I ran c++ programs on redhat 7.2 just fine, when I move to RH9, I have problems at runtime. I get:

a.out: error while loading shared libraries: cannot open shared object file: No such file or directory

I've just installed gcc 3.4 (compiled and installed from the source). I get a version of 3.4.0 when I do a "gcc --version" and it appeared to install correctly. No special libraries should be required as it is only trying to execute

I tried to add: /usr/local/lib to /etc/ and ran ldconfig and I've also modified the LD_LIBRARY_PATH

This resulted in the following problem at runtime:

/lib/ version `GCC_3.3' not found (required by /usr/local/lib/

I see it's mentioning gcc 3.3.

Any idea how to make the programs run and is the second message a step forward or backward? Should I install gcc from an rpm? I'm out of ideas.



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
/usr/local/lib not searched for shared objects in Redhat/Fedora? Arodef Programming 2 09-23-2005 12:44 AM
Dynamically sized objects in shared memory jtshaw Programming 2 03-16-2005 10:12 AM
any links on linking, loading shared libraries, shared objects. etc? ananthbv Programming 0 02-03-2005 07:47 AM
Creating Shared objects Anup Kumar Programming 1 09-11-2004 11:45 PM
shared libraries missing? wkgreen Linux - Newbie 1 02-08-2004 02:01 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:24 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration