Thread 'libssl on 6.12 builds mageia'

Message boards : Questions and problems : libssl on 6.12 builds mageia
Message board moderation

To post messages, you must log in.

AuthorMessage
Bill Wilkinson

Send message
Joined: 17 Oct 11
Posts: 1
United States
Message 40694 - Posted: 17 Oct 2011, 18:17:46 UTC

Hi!

I've been running mageia linux for a while now, and saw an update message in my BOINC messages.

Downloading 6.12.34 and installing went fine, but when I tried running the manager, I got the error: libssl.so.0.9....not found. Mageia comes with libopenssl 1.0.0d.

Can we ensure the client works with current distros?

Thanks!
ID: 40694 · Report as offensive
joergent

Send message
Joined: 17 Oct 11
Posts: 2
Denmark
Message 40700 - Posted: 17 Oct 2011, 22:16:52 UTC - in response to Message 40695.  

May I suggest making both a statically and a dynamically linked version.
This is easy and may mean that I would be able to upgrade the software.
Especially when libssl has undergone a major upgrade, that should be taken into account. Just pretending version 0.9.8 is 1.0.0d is simply not working. I tried it.

ID: 40700 · Report as offensive
joergent

Send message
Joined: 17 Oct 11
Posts: 2
Denmark
Message 40701 - Posted: 17 Oct 2011, 23:08:15 UTC - in response to Message 40700.  

I am also wondering why two versions of libssl and libcrypto are used in the same program.

-rwxr-xr-x 1 1000 1000 3015712 28 jul 22:15 boincmgr

boincmgr: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory

ldd boincmgr

libssl.so.0.9.8 => not found
libcrypto.so.0.9.8 => not found

libssl.so.10 => /usr/lib64/libssl.so.10 (0x0000003195800000)
libcrypto.so.10 => /usr/lib64/libcrypto.so.10 (0x0000003192800000)
ID: 40701 · Report as offensive
ProfileJord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15655
Netherlands
Message 40711 - Posted: 18 Oct 2011, 17:24:35 UTC - in response to Message 40701.  

I asked the developer about this (I don't build them either), he said this is fixed in 6.13.8 and it'll be back-ported to a new 6.12 coming to a place near you very soon. ;-)
ID: 40711 · Report as offensive
ProfileJord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15655
Netherlands
Message 40713 - Posted: 18 Oct 2011, 18:59:20 UTC - in response to Message 40712.  
Last modified: 18 Oct 2011, 18:59:35 UTC

That sticky thread and all those yelled warnings in the change log thread not enough of a clue? ;-)
ID: 40713 · Report as offensive
JoesCat
Avatar

Send message
Joined: 10 Dec 11
Posts: 2
Canada
Message 41551 - Posted: 10 Dec 2011, 7:18:39 UTC

Sometimes you can get away with a symbolic link if the library is mature enough to have been built with updates in mind (the header.c files need to remain in the same order and new functions added "after"). glibc is a good example of a well maintained library that is usable by old or newer binaries.

For Mageia 1 (32bit), this seemed to work okay in getting the boinc manager working. Start a command line shell and insert two symlinks as seen below:
cd /usr/lib
su
password: ********
ln -s libcrypto.so.1.0.0 libcrypto.so.0.9.8
ln -s libssl.so.1.0.0 libssl.so.0.9.8

ls -l libssl*
lrwxrwxrwx 1 root root     15 Dec  9 22:22 libssl.so.0.9.8 -> libssl.so.1.0.0*
-rwxr-xr-x 1 root root 365308 May 15  2011 libssl.so.1.0.0*

[root@localhost lib]# ls -l libcrypto.*
lrwxrwxrwx 1 root root      18 Dec  9 22:24 libcrypto.so.0.9.8 -> libcrypto.so.1.0.0*
-rwxr-xr-x 1 root root 1871792 May 15  2011 libcrypto.so.1.0.0*

exit


The 64bit version is likely going to be in directory /usr/lib64/ instead of /usr/lib/

I only did the above minutes ago and the boinc manager seemed okay in loading 4 projects.
ID: 41551 · Report as offensive

Message boards : Questions and problems : libssl on 6.12 builds mageia

Copyright © 2025 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.