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:
libcrypto.so.1 is needed by imap-2000-9
libssl.so.1 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/libssl.so.0
-rwxr-xr-x 1 root root 213926 Jul 19 15:06 /usr/lib/libssl.so.0.9.6
lrwxrwxrwx 1 root root 15 May 23 10:07 /usr/lib/libssl.so.1 ->
# ls -l /usr/lib/libcrypto*
-rwxr-xr-x 1 root root 928859 Jul 19 15:06 /usr/lib/libcrypto.so.0.
lrwxrwxrwx 1 root root 18 May 23 10:07 /usr/lib/libcrypto.so.1
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)?
Not expert advice but maybe ldconfig, as root is what you need (man ldconfig). In /etc/ld.so.conf (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 ld.so.conf (/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/ld.so.conf and run ldconfig (as a theoretical). FWIW. HTH.
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 rpmfind.net. Just do a search for the dependenciy that you are looking for and it wil tell you what package it belongs to.
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....
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....
You may need to pass flags to your configure script to help it find these libraries. Type in ...
so you can see what the exact syntax needed will be. it might be something like ...
but you will have to check it out to be sure.
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.
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.
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 01:55 AM.|