LinuxQuestions.org
Help answer threads with 0 replies.
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, 06: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, 06:55 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
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, 07: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, 07:46 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
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


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

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

All times are GMT -5. The time now is 08:01 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration