LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   libssl.so.5 and libcrypto.so.5 needed, but got libssl.so.6?! (http://www.linuxquestions.org/questions/linux-software-2/libssl-so-5-and-libcrypto-so-5-needed-but-got-libssl-so-6-a-427325/)

Lobais 03-22-2006 11:18 AM

libssl.so.5 and libcrypto.so.5 needed, but got libssl.so.6?!
 
Hi, When I try to install ardour from planetccrma, yum tells me that I need libssl.so.5 and libcrypto.so.5, but when i do "locate libssl" I get
Code:

[root@localhost ~]# for i in `locate libssl`
> do ls -l $i
> done
lrwxrwxrwx 1 root root 61 15 aug  2005 /lib/libssl.so.0 -> /usr/local/Adobe/Acrobat7.0/Reader/intellinux/lib/libssl.so.0
lrwxrwxrwx 1 root root 11 15 aug  2005 /lib/libssl.so.0.9.6 -> libssl.so.0
-rwxr-xr-x 1 root root 232632 12 feb 09:31 /lib/libssl.so.0.9.7a
-rwxr-xr-x 1 root root 279384 21 mar 18:35 /lib/libssl.so.0.9.8a
lrwxrwxrwx 1 root root 16  5 aug  2005 /lib/libssl.so.4 -> libssl.so.0.9.7a
lrwxrwxrwx 1 root root 21 21 mar 18:36 /lib/libssl.so.5 -> /lib/libssl.so.0.9.8alrwxrwxrwx 1 root root 16 20 mar 14:55 /lib/libssl.so.6 -> libssl.so.0.9.8a
-rw-r--r-- 1 root root 183777  9 feb 04:55 /opt/SUNWappserver/imq/lib/libssl3.so-rw-r--r-- 1 root root 439208 12 feb 09:33 /usr/lib/libssl.a
lrwxrwxrwx 1 root root 26 20 mar 15:56 /usr/lib/libssl.so -> ../../lib/libssl.so.0.9.8a
-rwxr-xr-x 1 root root 279384 22 mar 17:55 /usr/lib/libssl.so.5
-rw-r--r-- 1 root root 706805 15 feb 08:41 /usr/lib/libssl3.so
-rwxr-xr-x 1 root root 126052 29 jun  2005 /usr/lib/nvu-1.0/libssl3.so
-rw-r--r-- 1 root root 302 12 feb 09:33 /usr/lib/pkgconfig/libssl.pc
lrwxrwxrwx 1 root root 15 30 jun  2005 /usr/local/Adobe/Acrobat7.0/Reader/intellinux/lib/libssl.so -> libssl.so.0.9.6
lrwxrwxrwx 1 root root 15 30 jun  2005 /usr/local/Adobe/Acrobat7.0/Reader/intellinux/lib/libssl.so.0 -> libssl.so.0.9.6
-rwxr-xr-x 1 root root 211682 28 mar  2005 /usr/local/Adobe/Acrobat7.0/Reader/intellinux/lib/libssl.so.0.9.6
-rwxrwxrwx 1 thomas root 213600 24 feb 23:25 /usr/share/planeshift/libs/libssl.so.0.9.7a
lrwxrwxrwx 1 root root 16 27 feb 19:03 /usr/share/planeshift/libs/libssl.so.4 -> libssl.so.0.9.7a

The libssl.so.5 is added by myself, but doesn't seam to work. Maybe because [root@localhost ~]# rpm -q --provides openssl only says that I have libssl.so.6 installed
Code:

[root@localhost ~]# rpm -q --provides openssl
config(openssl) = 0.9.8a-5.2
lib4758cca.so
libaep.so
libatalla.so
libchil.so
libcrypto.so.6
libcswift.so
libgmp.so
libnuron.so
libssl.so.6
libsureware.so
libubsec.so
openssl = 0.9.8a-5.2

Is there anything one can do, to make yum know that libssl.so.5 and libcrypto.so.5 IS installed, or will I have to wait for updated packages?

Emerson 03-22-2006 02:35 PM

You added libssl.so.5 yourself. In case you just copied it to /usr/lib you need to run ldconfig afterwards.

Lobais 03-22-2006 03:08 PM

I was so soure you'd got it, but still:
Code:

[root@localhost ~]# ls -l /usr/lib/libcrypto.so.5
-rwxr-xr-x 1 root root 1247272 22 mar 22:06 /usr/lib/libcrypto.so.5
[root@localhost ~]# ls -l /usr/lib/libssl.so.5
-rwxr-xr-x 1 root root 279384 22 mar 17:55 /usr/lib/libssl.so.5
[root@localhost ~]# yum install ardour
...
Error: Missing Dependency: libssl.so.5 is needed by package ardour
Error: Missing Dependency: libcrypto.so.5 is needed by package ardour


Emerson 03-22-2006 03:18 PM

Well, ldconfig makes it usable for system. This Mr. yum is another character. It probably checks it against some database and there is no sign of this package. Don't know anything about yum :(

TheOgre 10-08-2008 02:59 AM

The Solution
 
The Ogre Says:


I know its been a long time since this thread died, but I wanted to post the simple solution I found.

Check your yum.repos.d files and make sure the version number is not hard coded in. If it is, you are looking in old repositories and will get this error. Mine was from plesk, but yours may be different. I changed the 4 in the url to $releasever and it should find the correct version. You never needed libssl.so.5 or libcrypto.so.5, you needed a newer version of the program you were trying to install.

The Ogre
ogrecave.org


All times are GMT -5. The time now is 05:16 AM.