LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 07-24-2003, 04:45 PM   #1
tinaa
Member
 
Registered: Mar 2003
Posts: 58

Rep: Reputation: 15
Urgent !!! rpm: error while loading shared libraries: libelf.so.1: cannot open shared


Hello All,

When i do anything that is related with RPM it gives me the following error

[root@server ]# rpm
rpm: error while loading shared libraries: libelf.so.1: cannot open shared object file: No such file or directory

[root@server ]# rpm -Uvh rpm-4.0.4-7x.18.i386.rpm
rpm: error while loading shared libraries: libelf.so.1: cannot open shared object file: No such file or directory

Any Help

Regards,
Tina.
 
Old 07-24-2003, 05:36 PM   #2
je_fro
Member
 
Registered: Nov 2002
Location: /texas/austin/home/desk
Distribution: Gentoo
Posts: 341

Rep: Reputation: 30
So....

Do you have that libelf?
 
Old 07-24-2003, 05:42 PM   #3
tinaa
Member
 
Registered: Mar 2003
Posts: 58

Original Poster
Rep: Reputation: 15
Hello,

I am on Redhat 7.3 and i installed the RPM package for Redhat 9.I compiled libelf.so.0 and it requires libelf.so.1 which i don't have.

Regards,
 
Old 08-11-2003, 12:03 PM   #4
utopicdog
Member
 
Registered: Aug 2003
Location: france
Distribution: suse/fedora
Posts: 105

Rep: Reputation: 15
my version of rpm is staticly linked. could you try to get the RPM for your version of RPM and use the old RPM to install it ???

otherwise

one trick is to make a link called libelf.so.1 and link to your old libelf.so.0, run ldconfig and see if its fooled.
 
Old 03-04-2007, 04:21 PM   #5
Soeren
LQ Newbie
 
Registered: Mar 2007
Posts: 1

Rep: Reputation: 0
hello tina,

I ran into the same problem, when installing rpmbuild.
Anyway, running

Code:
/sbin/ldconfig
as root solved the inconsistency.

Hope that helps.
soeren

Quote:
Originally Posted by tinaa
Hello All,

When i do anything that is related with RPM it gives me the following error

[root@server ]# rpm
rpm: error while loading shared libraries: libelf.so.1: cannot open shared object file: No such file or directory

[root@server ]# rpm -Uvh rpm-4.0.4-7x.18.i386.rpm
rpm: error while loading shared libraries: libelf.so.1: cannot open shared object file: No such file or directory

Any Help

Regards,
Tina.
 
Old 12-02-2008, 03:19 PM   #6
braclayrab
LQ Newbie
 
Registered: May 2008
Posts: 14

Rep: Reputation: 0
This worked for me:
Code:
sudo yum install compat-libstdc++-33.i386
...just don't ask me why.
I'm running CentOS 5.
Cheers!

Edit:
My error was slightly different
Code:
error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

Last edited by braclayrab; 12-02-2008 at 03:20 PM.
 
  


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
error while loading shared libraries: libstdc++.so.5: cannot open shared object file: Franziss Linux - Newbie 10 06-28-2010 05:47 AM
any links on linking, loading shared libraries, shared objects. etc? ananthbv Programming 0 02-03-2005 07:47 AM
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


All times are GMT -5. The time now is 03:47 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration