LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 03-07-2012, 05:29 AM   #1
rziya
LQ Newbie
 
Registered: Mar 2012
Posts: 2

Rep: Reputation: Disabled
Angry Need to fix RPM...I guess?


Hello,

I am trying to remotely manage a VPS with Centos 5.5 on it. However yum is not functional. And further research showed me that RPM is not working too.

rpm does not run giving the error below.

rpm: error while loading shared libraries: libpopt.so.0: cannot open shared object file: No such file or directory

tried to compile popt from source, and succeded but the problem is not solved.

any help?

Rziya
 
Old 03-07-2012, 05:55 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
I wouldn't compile it, I'd get the appropriate RPM, pull the RPM apart with mc and manually place that file in place. That is, IF the file doesn't exist (Usually in /usr/lib on i386), maybe there's a simple environmental issue. I'd wonder WHY it's doing that though, could be a real can of worms there.
 
Old 03-07-2012, 06:44 AM   #3
rziya
LQ Newbie
 
Registered: Mar 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Cool libpopt.so.0 where else?

Hello,

I copied the compiled libpopt.so.0 to /usr/lib and rpm, yum started working. But other packages are also looking for/dependent on this file. And it seems to me rpm still think it is not there. Any suggestions?

Ruchan


Error: Missing Dependency: libpopt.so.0 is needed by package samba-swat-3.0.33-3.29.el5_7.4.i386 (updates)
Error: Missing Dependency: popt = 1.10.2.3-22.el5_7.2 is needed by package rpm-libs-4.4.2.3-22.el5_7.2.i386 (updates)
Error: Missing Dependency: popt = 1.10.2.3-22.el5_7.2 is needed by package rpm-4.4.2.3-22.el5_7.2.i386 (updates)
Error: Missing Dependency: libpopt.so.0 is needed by package samba-client-3.0.33-3.29.el5_7.4.i386 (updates)
Error: Missing Dependency: libpopt.so.0 is needed by package libuser-0.54.7-2.1.el5_5.2.i386 (base)
Error: Missing Dependency: libpopt.so.0 is needed by package samba-3.0.33-3.29.el5_7.4.i386 (updates)
Error: Missing Dependency: libpopt.so.0 is needed by package passwd-0.73-2.i386 (base)
Error: Missing Dependency: libpopt.so.0 is needed by package 1:net-snmp-5.3.2.2-14.el5_7.1.i386 (updates)
Error: Missing Dependency: libpopt.so.0 is needed by package rpm-python-4.4.2.3-22.el5_7.2.i386 (updates)
Error: Missing Dependency: libpopt.so.0 is needed by package samba-common-3.0.33-3.29.el5_7.4.i386 (updates)
Error: Missing Dependency: popt = 1.10.2.3-22.el5_7.2 is needed by package rpm-python-4.4.2.3-22.el5_7.2.i386 (updates)
Error: Missing Dependency: libpopt.so.0 is needed by package util-linux-2.13-0.56.el5.i386 (base)
Error: Missing Dependency: libpopt.so.0 is needed by package rpm-libs-4.4.2.3-22.el5_7.2.i386 (updates)
Error: Missing Dependency: libpopt.so.0 is needed by package rpm-4.4.2.3-22.el5_7.2.i386 (updates)
Error: Missing Dependency: libpopt.so.0 is needed by package rsync-3.0.6-4.el5_7.1.i386 (updates)
Error: Missing Dependency: libpopt.so.0 is needed by package logrotate-3.7.4-12.i386 (base)
 
Old 03-07-2012, 06:46 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
OK, so if that package was not in the database, at the *RPM* level, that file would not necessarily be thought to exist. I don't know if that will be looking at rpmdb or the filesystem for it. Now you can get that far, formally reinstall the RPM package you manually unpacked, forcing it if need be. From then the RPM db will know it should exist and off you go.
 
  


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
[SOLVED] binutils configure.guess - cannot guess build type bisonapp Linux From Scratch 3 01-09-2011 03:31 AM
[SOLVED] Guess I need rpm build tools ? jonaskellens Linux - Newbie 2 10-31-2009 05:50 PM
Thunderbird RPM fix and upgrade louisb Linux - Enterprise 4 04-11-2005 10:03 PM
i thought delete/reinstall would fix it, guess not...(xine on mandrake 9.0) sirpelidor Linux - Newbie 3 11-06-2003 11:57 PM
bug in RPM, but how to fix? bearcatsandor Linux - Software 2 12-06-2001 06:34 PM

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

All times are GMT -5. The time now is 09:49 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