LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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
 
LinkBack Search this Thread
Old 07-20-2001, 11:00 AM   #1
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 14
Posts: 336

Rep: Reputation: 30
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 ->
libssl.so.0.9.6

and

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

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)?

Last edited by punt; 07-20-2001 at 12:17 PM.
 
Old 07-20-2001, 09:29 PM   #2
rolf
Member
 
Registered: Jul 2001
Location: Oakland, CA
Distribution: Mandriva 2010.2 x86_64
Posts: 186

Rep: Reputation: 33
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.
 
Old 07-20-2001, 09:33 PM   #3
cinnix
Member
 
Registered: Jun 2001
Location: Northern Ohio
Distribution: RedHat, Engarde and LFS
Posts: 237

Rep: Reputation: 30
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.
 
Old 07-21-2001, 11:34 PM   #4
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 14
Posts: 336

Original Poster
Rep: Reputation: 30
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....
 
Old 07-21-2001, 11:54 PM   #5
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 14
Posts: 336

Original Poster
Rep: Reputation: 30
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....

grr..
 
Old 07-22-2001, 09:03 AM   #6
cinnix
Member
 
Registered: Jun 2001
Location: Northern Ohio
Distribution: RedHat, Engarde and LFS
Posts: 237

Rep: Reputation: 30
Quote:
libcrypto.so.1 is needed by imap-2000-9
libssl.so.1 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.
 
Old 07-22-2001, 01:12 PM   #7
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 14
Posts: 336

Original Poster
Rep: Reputation: 30
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.
 
Old 07-23-2001, 12:06 AM   #8
tinman
LQ Newbie
 
Registered: Apr 2001
Posts: 9

Rep: Reputation: 0
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.
 
Old 07-23-2001, 01:18 AM   #9
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 14
Posts: 336

Original Poster
Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: Failed dependencies r0ck Linux - Software 3 05-09-2005 03:24 PM
error: Failed dependencies: Greenman Linux - Newbie 3 09-29-2004 06:23 AM
I recieve a failed dependencies error, but I have all required dependencies Laptop2250 Linux - Software 15 02-03-2004 07:58 PM
error: failed dependencies: gunz Linux - General 3 09-18-2002 09:18 PM
error : failed dependencies: karunesh Linux - General 1 02-05-2002 05:24 AM


All times are GMT -5. The time now is 08:13 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration