-   Linux - General (
-   -   error: failed dependencies (

punt 07-20-2001 12:00 PM

HELP!!!!!! error: failed dependencies
i'm trying to get imap up and running on my system (RH7.1). i downloaded the RPM and got the following error:

# rpm -ivh imap-2000-9.i386.rpm
error: failed dependencies: is needed by imap-2000-9 is needed by imap-2000-9

when i located these two libraries, i got the following information:

# ls -l /usr/lib/libssl*
-rw-r--r-- 1 root root 213926 Jul 19 15:09 /usr/lib/
-rwxr-xr-x 1 root root 213926 Jul 19 15:06 /usr/lib/
lrwxrwxrwx 1 root root 15 May 23 10:07 /usr/lib/ ->


# ls -l /usr/lib/libcrypto*
-rwxr-xr-x 1 root root 928859 Jul 19 15:06 /usr/lib/
lrwxrwxrwx 1 root root 18 May 23 10:07 /usr/lib/

so it's not like these files don't exist.

i insalled ssl, however, from source (i had massive problems installing from RPM).

how do i figure out where these dependencies are supposed to be linked to and to get this RPM installed correctly (without having to install other RPMs -- e.g. openSSL)?

rolf 07-20-2001 10:29 PM

Not expert advice but maybe ldconfig, as root is what you need (man ldconfig). In /etc/ (assuming Mandrake did not change that from Red Hat), there are paths that ldconfig uses for linking libraries (something like that). Anyway, I solved a similar error once by adding the directory to (/usr/lib would be your analog) and running ldconfig. Maybe doing ldconfig is enough. Alternatively, make links to your libraries in a directory that is in your /etc/ and run ldconfig (as a theoretical). FWIW. HTH.

cinnix 07-20-2001 10:33 PM

I am pretty sure that those dependencies are part of the openssl-0.9.6-9.i386.rpm package. You can always check it out at Just do a search for the dependenciy that you are looking for and it wil tell you what package it belongs to.

punt 07-22-2001 12:34 AM

yes, i have openssl installed, but not through the rpm (if i installed through the rpm, i'd run into big problems with ssh working correctly which is why this whole thing started to begin with)... i installed openssl from source and don't want to overwrite the source files with the rpm....

punt 07-22-2001 12:54 AM

hmm, didn't know about ldconfig, but that doesn't work either :(

the path /usr/lib is there (and the files are still in /usr/lib), but it still says that those dependencies are needed....


cinnix 07-22-2001 10:03 AM

Quote: is needed by imap-2000-9 is needed by imap-2000-9
Well then the problem is that imap cannot find these libraries. I am quite sure that these files are part of the openssl package.

You may need to pass flags to your configure script to help it find these libraries. Type in ...

./configure --help

so you can see what the exact syntax needed will be. it might be something like ...
./configure --with-ssl-libs=/usr/lib/ssl

but you will have to check it out to be sure.

punt 07-22-2001 02:12 PM

if the files exist, how can i make it work so that i don't have to reinstall it? the files are in the default location... i don't get it.

i'm just a little scared to reconfigure something that finally works after working 48 hours straight on it.

tinman 07-23-2001 01:06 AM

You need to upgrade your libs, merely creating a link to old, outdated libraries will not do you any good unless the same information were stored in the old libs it needs. If the new libs were the same as the old ones, there'd be no need for new libraries.

punt 07-23-2001 02:18 AM

ok - so how do i update my libs without downloading the whole file?

and these really aren't old libs to begin with... i have the latest version of everything... i still don't get it :confused:

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