LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-26-2002, 03:14 AM   #1
marlaina1
Member
 
Registered: Jun 2001
Location: Houston
Distribution: CentOS 5.3
Posts: 139

Rep: Reputation: 15
Angry Gnorpm not working


I just got my i486 back and starting over again as I had to be wiped out to clean up after a virus. (yeah, I got the firewall now). Anyway, as before, often when I try to uninstall, quiry, or verify an installed rpm at an xterm, I get the message that it is not installed. This happened before so I used gnorpm for those processes. But now, the gnorpm does not work. I get the message "gnorpm: error in loading shared libraries: /usr/lib/librpm.so.0: undefined symbol: ufdio". Red Hat 6.2. Thanks for any help.
 
Old 02-26-2002, 06:13 AM   #2
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Rep: Reputation: 46
Shared libraries .. the let the fun begin ...

I get this message a lot with installing programs in linux. What I do is copy and paste 'librpm.so.0' into a google search which usually brings up a few Japanese character pages and a few rpmfind sites which will have a package which contains the libraries you need.

Download and install the rpm file.

See if it complains. If it says there's a conflict, try:

rpm -i --upgrade --force LibrariesPackage.rpm

where LibrariesPackage.rpm is substitutes for the rpm you downloaded.

If it complains like, 'libraryA is required by libraryB' then the fun starts.

Make a note of the libraryB needed by the libraryA and do the google search again. Keep going until they stop whingeing. Then you're all set.

The above are generic installation instructions. It's not the best way but it keeps redundant libraries out of your system (especially on a computer with memory constraints) and makes you want that software all the more ...

Bert
 
Old 02-26-2002, 12:08 PM   #3
marlaina1
Member
 
Registered: Jun 2001
Location: Houston
Distribution: CentOS 5.3
Posts: 139

Original Poster
Rep: Reputation: 15
So I am just missing some dependencies?
 
Old 02-26-2002, 09:34 PM   #4
marlaina1
Member
 
Registered: Jun 2001
Location: Houston
Distribution: CentOS 5.3
Posts: 139

Original Poster
Rep: Reputation: 15
I checked the library dependencies for the gnorpm installed for me and all are installed. Am I completely missing the answer given here?
 
Old 02-26-2002, 10:44 PM   #5
marlaina1
Member
 
Registered: Jun 2001
Location: Houston
Distribution: CentOS 5.3
Posts: 139

Original Poster
Rep: Reputation: 15
I have gnorpm-0.9-15.i386.rpm installed and all it's required immediate

dependencies.



I have rpm-3.0.4-0.48.i386.rpm and all it's required immediate

dependencies



these two rpms should work together.



then I have the rpm update rpm-4.0.2-6x.i386rpm One of it's dependencies

is mktemp >= 1.5-2.16x. the mktemp I have installed is

mktemp-1.5-2.386.rpm, which is not the requirement for this rpm update.



I believe this update is installed. Since rpm-q and rpm -V and gnorpm do

not work, I cannot tell if it is installed. I can find doc and man files

on it. rpm -qa | grep rpm lists this update so from that I assume it is

installed.



Now I could try removing this update but rpm -e of any package tells me

they are not installed and gnorpm is not working so I cannot un-install.



So ................here I sit.
 
Old 02-27-2002, 04:52 AM   #6
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Rep: Reputation: 46
Fun, fun, fun ...

RPM is notoriously unreliable. My favourite is when I try to install a package and rpm tells me it's already installed, and then to uninstall it for rpm to tell me it's not installed.

Did you try the google search for the package provided with the dependency?

If not, then yes uninstalling and reinstalling along with

% rpm --rebuilddb&

but if that didn't work, forget rpm.

If the package has a source RPM, try installing, configuring and making (building) the package manually. The configure should tell you if there's something missing, or if there's something it can't find.

RPM is great but for diagnostic problems, sometimes you do have to get down and dirty with the Makefile.

Sorry I can't offer a better insight.

Bert
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gnorpm-we-need-it ftgow Red Hat 18 09-08-2003 12:07 PM
GnoRPM problem cjmanoj Linux - Software 1 08-11-2003 12:46 PM
gnorpm-auth albean Linux - Newbie 0 11-26-2002 04:28 PM
using GnoRPM on RH7.1 c0c0deuz Linux - Newbie 6 10-24-2001 09:30 AM
gnorpm crashed woody Linux - General 8 08-29-2001 11:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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