- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- RPM error!
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2001 08:25 PM
09-21-2001 08:25 PM
RPM error!
I was using RPM 3.0.4 and I updated to 4.0.2 and install some programs... After, always I run rpm -qa, rpm -ivh and so one, I got the following message:
/usr/lib/rpm/rpmdb: error in loading shared libraries: libdb-3.1.so: cannot open shared object file: No such file or directory
Any clue?
Leandro.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2001 08:56 PM
09-21-2001 08:56 PM
Re: RPM error!
file libdb-3.1.so is belong to db-3.1.17 rpm, check on your installed rpm.
maybe it helps,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2001 09:05 PM
09-21-2001 09:05 PM
Re: RPM error!
Leandro.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2001 12:08 AM
09-22-2001 12:08 AM
Re: RPM error!
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2001 01:27 AM
09-22-2001 01:27 AM
Re: RPM error!
- make sure you are login as root and you have file db-3.1.[version].rpm on / directory
- do this, change file rpm format to cpio format and extract the file
cd /
rpm2cpio db-3.1.[version].rpm |cpio -ivd
ldconfig -v
- then try to execute rpm command again.
hope it helps,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2001 09:59 AM
09-22-2001 09:59 AM
Re: RPM error!
/lib
[root@classi-a /lib]# ls -al libdb*
-rwxr-xr-x 1 root root 234176 Jun 17 2000 libdb-2.1.3.so
lrwxrwxrwx 1 root root 15 Sep 14 2000 libdb.so.2 -> libdb1-2.1.3.so
lrwxrwxrwx 1 root root 14 Sep 14 2000 libdb.so.3 -> libdb-2.1.3.so
-rwxr-xr-x 1 root root 51248 Jun 17 2000 libdb1-2.1.3.so
lrwxrwxrwx 1 root root 15 Sep 14 2000 libdb1.so.2 -> libdb1-2.1.3.so
[root@classi-a /lib]#
[root@classi-a /]# rpm2cpio db3-3.1.17-7cl.i386.rpm | cpio -ivd
rpm2cpio: error in loading shared libraries: libdb-3.1.so: cannot open shared object file: No such file or directory
cpio: premature end of archive
And now? :( I tried, from another linux box do:
rpm2cpio db3-3.1.17-7cl.i386.rpm > db.cpio
and send (via ftp) the db.cpio file to my box. There I use:
cpio -ivd db.cpio
but nothing occured. The prompt didn't 'come up' again. I use ctrl+c to cancel the operation.
PS.: I remember that this problem begins when I installed ldconfig-2.2.3-18cl.i386.rpm, any problem?
Thanks.
Leandro.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2001 04:58 PM
09-22-2001 04:58 PM
Re: RPM error!
I'm afraid I don't have easy acess to my linux box right now, but could you try copying over the library from another linux box and run ldconfig to see that will fix the problem?
I'll check up again once I get to my linux box.
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2001 09:02 AM
09-23-2001 09:02 AM
Re: RPM error!
Your syntax for the cpio command is incorrect, it should be:
cpio -ivd < db.cpio
Notice the redirect (<) character. This should extract the necessary file from the cpio archive. Just move libdb-3.1.so to /lib and make sure it has the following permissions:
-rwxr-xr-x 1 root root 1564413 Dec 12 2000 /lib/libdb-3.1.so
Then run ldconfig -v. Finally, just for good measures, I'd try to re-install db-3.1.17 rpm so that any other file that was not copied over originaly is now installed properly.
Hope this helps.
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2001 06:06 AM
09-24-2001 06:06 AM
Re: RPM error!
# cpio -ivd < db.cpio
all files was extract propertly.
# rpm -qa
/usr/lib/rpm/rpmq: error in loading shared libraries: libbz2.so.1: cannot open shared object file: No such file or directory
And now?!
Thanks for the help.
Leandro.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2001 09:59 AM
09-24-2001 09:59 AM
Re: RPM error!
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2001 12:03 PM
09-24-2001 12:03 PM
Re: RPM error!
Leandro.