Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help with rpm failed dependencies

Status
Not open for further replies.

bobbybobbertson

Programmer
Nov 9, 2001
119
US
I'm fairly new to red hat linux. I am trying to install a few RPM packages. However they keep failing because of dependencies. The dependencies are .so files. What are these and how do I go about getting them?

thanks
 
Not a big problem, but it requires a human touch. When you're needing "libXm.so.whatever", you need to locate the library "libXm" (independent of version, usually- get the newest you can find.)

See they have almost everything ever made. You can enter "libXm" there, and it'll come up RPMS of that name.

Notice that "libXm" is a bad example; it's Motif(R)(TM) (etc) and it costs about $200, and (IMO) it's kinda antiquated compared to the newer things. Just an observation.

Then when it's time to install your target RPM, also path to the "libwhatever" file you've gotten.

Enjoy!
 
I went to where you said, and a few of them exist, but others don't, what do I do then?

For instance I cannot find a file called "libssl" or "libdb-3"

thanks
 
Hi,

libssl is 'provided by' the 'openssl' rpm and libdb-3 by the 'db-3' rpm. So you need to install the appropriate versions of those rpms for your release of redhat.

Rpm can be tricky with dependencies - sometimes you have to know which rpms 'provide' missing resources and, unless you have prior knowledge, its not that easy.

What you should do is use the 'up2date' tool which uses a dependency database to work out that if you say 'install package_xxx' it really also needs 'package_yyy' and 'package_zzz' or whatever. See -->
Hope this helps
 
I have run the up2date agent. Yet my machine is still lacking the resources needed to install this one program that I would like to install. I want to install HORDE's IMP, which is a web-based email client.

I am having problems with users that want to send mail through my server. Most of these users have dial up dynamic IP's. Thus, if I want to allow them to send through SMTP on my server, I have to open the flood gates to all IP's because I don't know what their IP will be. I really don't care to open up my server to anyone on the internet, thus I'm trying to install a web based email client. Then my users can log into my web client and send their mail from there.

I am looking to install a program from called IMP. However, their design is pretty stringent on what it needs to run.

Thanks for the help
anyone know of a good web based email client?
 
Hi,







Looking at IMP it is obviously written in PHP and they have a directory on their ftp site called 'rpms' which is additional to the 'noarch' directory containing imp. That has all the various php rpms plus a calendaring library called mcal and a php-mcal .
The dependency requirements of the imp rpm at ftp://ftp.horde.org/pub/imp/rpms/noarch/rh7/ are :





php >= 4.1.0


php-imap >= 4.1.0


apache >= 1.3.22


horde >= 2.0


/usr/bin/perl


/bin/sh


/bin/sh


/bin/sh


rpmlib(PayloadFilesHavePrefix) <= 4.0-1


/bin/sh


rpmlib(CompressedFileNames) <= 3.0.4-1





and for the 'horde' rpm :





php >= 4.1.0


apache >= 1.3.22


/usr/bin/perl


/bin/sh


/bin/sh


rpmlib(PayloadFilesHavePrefix) <= 4.0-1


/bin/sh


rpmlib(CompressedFileNames) <= 3.0.4-1





So you need at least (assuming dependencies are complete) the following rpms installed before you try to install the imp rpm :





apache


perl


php


php-imap
horde






You may want to just install all of the rpms in their 'rpms' directory or your original distro equivalents. The mcal and php-mcal probably have to come from the horde site as they are the originators and these may not be available elsewhere. ftp://ftp.horde.org/pub/imp/rpms/i386/rh7/







Hope this helps







 
You could try ftp.redhat.com directly, just follow the folders to your version and look for the RPM's. I used &quot;links&quot; with no problems to get linuxconf for instance, which RH7.2 didn't install by default.

Up2date just wouldn't cut it for me, perhaps due to lack of knowledge, but I used Mandrake before which for me had a better interface for downloading additional software.

Good luck

Chris IBM Certified Specialist - MQSeries
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top