LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem when installing an rpm file (https://www.linuxquestions.org/questions/linux-newbie-8/problem-when-installing-an-rpm-file-78030/)

TransAmJugo 08-01-2003 10:07 AM

Problem when installing an rpm file
 
Hello,

I have downloaded the current rpm file for apache but when I go to run it it gives me the following error:


[root@luckyclay source]# rpm -ivh httpd-2.0.47-4.i386.rpm
error: Failed dependencies:
libapr-0.so.0 is needed by httpd-2.0.47-4
libaprutil-0.so.0 is needed by httpd-2.0.47-4
libdb-4.1.so is needed by httpd-2.0.47-4

What does this error message mean? and how would I go about correcting it? Do I need to download something else?

Thanks for the help!

unSpawn 08-01-2003 11:05 AM

What does this error message mean? and how would I go about correcting it? Do I need to download something else?
You need to install the dependencies. According to http://www.rpmseek.com/index.html?hl=com, these libapr.* are the "Apache Portable Runtime shared libraries" and libdb.* is the "Berkeley database".

brew1brew 08-01-2003 11:10 AM

you need to do more reading, google will help,

Dependencies are other files/packages that are required by the package that you are installing. most distro's have tools that will resolve and install the dependencies such as Mandrakes urpmi and rpmdrake, urpmi is command line and rpmdrake is gui based. they will download and install packages in one step.

brew1brew 08-01-2003 11:34 AM

also you might read the following thread,

http://www.linuxquestions.org/questi...threadid=77475

martinman 08-01-2003 01:22 PM

to help with dependencies later on, you might wanna try apt-get or synaptic. Do a search on these forums for more info about either


All times are GMT -5. The time now is 06:29 AM.