LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-22-2005, 04:53 PM   #1
Avatar33
Member
 
Registered: May 2003
Location: South Africa
Distribution: Ubuntu
Posts: 75

Rep: Reputation: 15
RPM's and dependencies


Hi

I'm trying to install the Disk Archive program (DAR) and it requires Libbzip2.
Code:
rpm -q bzip2
reveals that I have bzip2 installed but this is not good enough for DAR.
I think DAR needs the bzip2/libbzip2 shared library installed.

So I dowloaded bzip source from here: ftp://sources.redhat.com/pub/bzip2/v...2-1.0.2.tar.gz

I then built the source with make, but when calling
Code:
make install
I get the following error:
Code:
ln: `/usr/bin/bzless': File exists
make: *** [install] Error 1
This makes sense since I have not yet removed the bzip package. When I run
Code:
rpm -e bzip2
I get
Code:
error: Failed dependencies:
        bzip2 is needed by (installed) info-install-4.7-2mdk
        bzip2 >= 0.9.0c-2 is needed by (installed) rpm-4.2.2-15mdk
        bzip2 >= 1.0 is needed by (installed) perl-URPM-1.03-1mdk
        bzip2 >= 1.0 is needed by (installed) rpmtools-4.5-25mdk
What am I supposed to do in this situation?
Is there a way I can replace the Bzip package with the binaries/libraries that I built from source without breaking dependencies?

Any advice would be appreciated.
Thanks
Avatar
 
Old 02-22-2005, 04:58 PM   #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
you said it needed libbzip2, yet you're concenred about bzip2? these are not the same thing.... install libbzip2
 
Old 02-23-2005, 02:53 PM   #3
Avatar33
Member
 
Registered: May 2003
Location: South Africa
Distribution: Ubuntu
Posts: 75

Original Poster
Rep: Reputation: 15
Hi Chris.

libbz2.so.1.0.2 and the bzip2 ar e built from the same source (http://sources.redhat.com/bzip2/).

I've actually solved my problem. Although
Code:
make install
did not manage to copy the binaries to their proper location, it did manage to copy the Libbzip2 library.

So now all is well when I try to build DAR.

Thanks for your help.
Avatar
 
Old 02-23-2005, 03:42 PM   #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
so you over installed an rpm insatll with a source one? that's really not a nice way to acheive anything. sure they're built from the same source, i wouldn't doubt they were, but we're dealing with lumps of RPM's, not source installations... and the rpm "bzip2" does not contain the same stuff as "libbzip2"
 
Old 02-23-2005, 05:15 PM   #5
Avatar33
Member
 
Registered: May 2003
Location: South Africa
Distribution: Ubuntu
Posts: 75

Original Poster
Rep: Reputation: 15
Quote:
so you over installed an rpm insatll with a source one? that's really not a nice way to acheive anything
Ok I won't do it again :-)

Is the conclusion, that you either _only_ use RPM installs or _only_ use source installs?

I often find source installs easier, because finding the exact rpm is a hard task.
For example: DAR also requires that openssl's libcrypto library is installed. When doing a search for this library on the net: the first result I get is http://www.openssl.org which only has a source download option.

Thanks for your help.
Avatar
 
  


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
Are source RPM's and binary RPM's installed the same way? Simon Adebisi Linux - Software 3 06-28-2005 03:45 AM
I recieve a failed dependencies error, but I have all required dependencies Laptop2250 Linux - Software 15 02-03-2004 07:58 PM
RPM's cleekjc Linux - Newbie 1 07-29-2003 04:50 PM
RPM's... AquamaN Linux - Software 3 07-29-2003 12:43 PM
RH - 8.0 RPM's on 7.3? mightym Linux - Newbie 1 11-25-2002 01:14 PM

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

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