LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 08-28-2004, 03:47 PM   #1
newuser455
Member
 
Registered: May 2004
Location: Texas
Posts: 277

Rep: Reputation: 30
Question Error while loading shared libraries


I just bought a cyberpower batery backup for my linux box running RH7.1. I am trying to install the auto shutdown software. Whenever I try to install it it says installed successfully then says underneath that "error while loading shared libraries: libstdc++.so.5: cannot load shared object file: No such file or directory".

Could someone please help me on this one? Any help would be great.

Thanks,

 
Old 08-28-2004, 04:04 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
first i'm thinking you need an old version of libc++ for backward compatability
but then i read you are using rh7.1 so this is actually something newer than you have which could prove tricky cause your system is made with a very old version of gcc

see if this will install
http://www2.linuxforum.net/RPM/redha....2-7.i386.html

that seems to be about as far back as that goes

the only other thing i can think of is to just copy the lib from a more modern version of redhat
and stick it in /usr/lib and see if that works (this is what i would do)

or try to upgarde gcc to 3.x but i'm wondering if that won't break things ??

another solution is to leave gcc2.9 or whatever as your system compiler and hand compile a version of gcc3.x and leave the default path (don't use --prefix=/usr in the configure)
that way it will install in /usr/local and just be an extra compiler and will also in the process make you that libstdc++ you need
then just copy the lib from /usr/local/lib to /usr/lib or make a link

Last edited by foo_bar_foo; 08-28-2004 at 04:09 PM.
 
Old 08-28-2004, 07:10 PM   #3
newuser455
Member
 
Registered: May 2004
Location: Texas
Posts: 277

Original Poster
Rep: Reputation: 30
Do you think things would be alot eisier with RH9? I am also having many boot up problems such as when it checks for new hardware and whenever I try to install an rpm I get the error Segmentation fault (core dumped).
 
  


Reply



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
error while loading shared libraries: libstdc++.so.5: cannot open shared object file: Franziss Linux - Newbie 10 06-28-2010 05:47 AM
Urgent !!! rpm: error while loading shared libraries: libelf.so.1: cannot open shared tinaa Linux - Software 5 12-02-2008 03:19 PM
error while loading shared libraries: libdb-4.1.so: cannot open shared object file putquery8581 Linux - Software 1 10-01-2004 07:03 AM
mplayer: error while loading shared libraries: libdvdread.so.3: cannot open shared ob Bruce Hill Slackware 6 12-11-2003 08:34 AM
linux init error in loading shared shared libraries akaran Linux - Software 1 05-28-2003 04:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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