[Pharo-project] Confused about SSL Plugin dependencies
Assuming http://ci.lille.inria.fr/pharo/view/Cog/job/Cog-VM/Architecture=32,OS=linux/... as linked from http://www.pharo-project.org/pharo-download is the official Linux VM used by the whole build process, I am confused about the dependencies of the shipped SSL plugin. On my Ubuntu machine, the following output is of the working plugin: ubuntu@ip-10-48-234-254:~/experimental$ ldd bin/libSqueakSSL.so linux-gate.so.1 => (0xb7702000) libm.so.6 => /lib/i386-linux-gnu/tls/i686/nosegneg/libm.so.6 (0xb76c6000) libdl.so.2 => /lib/i386-linux-gnu/tls/i686/nosegneg/libdl.so.2 (0xb76c1000) libpthread.so.0 => /lib/i386-linux-gnu/tls/i686/nosegneg/libpthread.so.0 (0xb76a6000) libssl.so.0.9.8 => /lib/i386-linux-gnu/libssl.so.0.9.8 (0xb7657000) libc.so.6 => /lib/i386-linux-gnu/tls/i686/nosegneg/libc.so.6 (0xb74ad000) /lib/ld-linux.so.2 (0xb7703000) libcrypto.so.0.9.8 => /lib/i386-linux-gnu/libcrypto.so.0.9.8 (0xb7334000) libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb731e000) While the following output is of the non-working version downloaded from the links above ubuntu@ip-10-48-234-254:~/experimental$ ldd pharocog/libSqueakSSL.so linux-gate.so.1 => (0xb77a7000) libssl.so.6 => not found libc.so.6 => /lib/i386-linux-gnu/tls/i686/nosegneg/libc.so.6 (0xb75ee000) /lib/ld-linux.so.2 (0xb77a8000) What package has to be installed to resolve this dependency ? Against which library was this variant of the SSL plugin built ? I alread have both the following ubuntu@ip-10-48-234-254:~/experimental$ aptitude search "~i" | grep ssl i A libio-socket-ssl-perl - Perl module implementing object oriented i i A libnet-ssleay-perl - Perl module for Secure Sockets Layer (SSL) i libssl0.9.8 - SSL shared libraries i A libssl1.0.0 - SSL shared libraries i openssl - Secure Socket Layer (SSL) binary and relat i python-openssl - Python wrapper around the OpenSSL library i A ssl-cert - simple debconf wrapper for OpenSSL Thx, Sven
Am 24.10.2012 um 22:08 schrieb Sven Van Caekenberghe <sven@stfx.eu>:
Assuming
http://ci.lille.inria.fr/pharo/view/Cog/job/Cog-VM/Architecture=32,OS=linux/...
as linked from
http://www.pharo-project.org/pharo-download
is the official Linux VM used by the whole build process, I am confused about the dependencies of the shipped SSL plugin.
On my Ubuntu machine, the following output is of the working plugin:
ubuntu@ip-10-48-234-254:~/experimental$ ldd bin/libSqueakSSL.so linux-gate.so.1 => (0xb7702000) libm.so.6 => /lib/i386-linux-gnu/tls/i686/nosegneg/libm.so.6 (0xb76c6000) libdl.so.2 => /lib/i386-linux-gnu/tls/i686/nosegneg/libdl.so.2 (0xb76c1000) libpthread.so.0 => /lib/i386-linux-gnu/tls/i686/nosegneg/libpthread.so.0 (0xb76a6000) libssl.so.0.9.8 => /lib/i386-linux-gnu/libssl.so.0.9.8 (0xb7657000) libc.so.6 => /lib/i386-linux-gnu/tls/i686/nosegneg/libc.so.6 (0xb74ad000) /lib/ld-linux.so.2 (0xb7703000) libcrypto.so.0.9.8 => /lib/i386-linux-gnu/libcrypto.so.0.9.8 (0xb7334000) libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb731e000)
While the following output is of the non-working version downloaded from the links above
ubuntu@ip-10-48-234-254:~/experimental$ ldd pharocog/libSqueakSSL.so linux-gate.so.1 => (0xb77a7000) libssl.so.6 => not found libc.so.6 => /lib/i386-linux-gnu/tls/i686/nosegneg/libc.so.6 (0xb75ee000) /lib/ld-linux.so.2 (0xb77a8000)
What package has to be installed to resolve this dependency ? Against which library was this variant of the SSL plugin built ?
For me 0.9.8 of the library works. There is just mismatch in the library name SSL is linked and what you get installed in a fresh ubuntu. If you look here # ls -l /usr/lib/i386-linux-gnu/libssl* -rw-r--r-- 1 root root 240624 Aug 16 17:54 /usr/lib/i386-linux-gnu/libssl3.so lrwxrwxrwx 1 root root 35 Apr 24 2012 /usr/lib/i386-linux-gnu/libssl.so.0.9.8 -> /lib/i386-linux-gnu/libssl.so.0.9.8 we have a libssl.so.0.9.8. But the plugin is linked to a library libssl.so.6. To fix this execute # ln -s /usr/lib/i386-linux-gnu/libssl.so.0.9.8 /usr/lib/i386-linux-gnu/libssl.so.6 Maybe you need to invoke ldconfig afterwards. Norbert
I alread have both the following
ubuntu@ip-10-48-234-254:~/experimental$ aptitude search "~i" | grep ssl i A libio-socket-ssl-perl - Perl module implementing object oriented i i A libnet-ssleay-perl - Perl module for Secure Sockets Layer (SSL) i libssl0.9.8 - SSL shared libraries i A libssl1.0.0 - SSL shared libraries i openssl - Secure Socket Layer (SSL) binary and relat i python-openssl - Python wrapper around the OpenSSL library i A ssl-cert - simple debconf wrapper for OpenSSL
Thx,
Sven
Hi Norbert, I was lazy and didn't try the symbolic link, but you are right: it works ! No ldconfig was necessary. Thanks a lot. Sven On 25 Oct 2012, at 11:34, Norbert Hartl <norbert@hartl.name> wrote:
Am 24.10.2012 um 22:08 schrieb Sven Van Caekenberghe <sven@stfx.eu>:
Assuming
http://ci.lille.inria.fr/pharo/view/Cog/job/Cog-VM/Architecture=32,OS=linux/...
as linked from
http://www.pharo-project.org/pharo-download
is the official Linux VM used by the whole build process, I am confused about the dependencies of the shipped SSL plugin.
On my Ubuntu machine, the following output is of the working plugin:
ubuntu@ip-10-48-234-254:~/experimental$ ldd bin/libSqueakSSL.so linux-gate.so.1 => (0xb7702000) libm.so.6 => /lib/i386-linux-gnu/tls/i686/nosegneg/libm.so.6 (0xb76c6000) libdl.so.2 => /lib/i386-linux-gnu/tls/i686/nosegneg/libdl.so.2 (0xb76c1000) libpthread.so.0 => /lib/i386-linux-gnu/tls/i686/nosegneg/libpthread.so.0 (0xb76a6000) libssl.so.0.9.8 => /lib/i386-linux-gnu/libssl.so.0.9.8 (0xb7657000) libc.so.6 => /lib/i386-linux-gnu/tls/i686/nosegneg/libc.so.6 (0xb74ad000) /lib/ld-linux.so.2 (0xb7703000) libcrypto.so.0.9.8 => /lib/i386-linux-gnu/libcrypto.so.0.9.8 (0xb7334000) libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb731e000)
While the following output is of the non-working version downloaded from the links above
ubuntu@ip-10-48-234-254:~/experimental$ ldd pharocog/libSqueakSSL.so linux-gate.so.1 => (0xb77a7000) libssl.so.6 => not found libc.so.6 => /lib/i386-linux-gnu/tls/i686/nosegneg/libc.so.6 (0xb75ee000) /lib/ld-linux.so.2 (0xb77a8000)
What package has to be installed to resolve this dependency ? Against which library was this variant of the SSL plugin built ?
For me 0.9.8 of the library works. There is just mismatch in the library name SSL is linked and what you get installed in a fresh ubuntu. If you look here
# ls -l /usr/lib/i386-linux-gnu/libssl* -rw-r--r-- 1 root root 240624 Aug 16 17:54 /usr/lib/i386-linux-gnu/libssl3.so lrwxrwxrwx 1 root root 35 Apr 24 2012 /usr/lib/i386-linux-gnu/libssl.so.0.9.8 -> /lib/i386-linux-gnu/libssl.so.0.9.8
we have a libssl.so.0.9.8. But the plugin is linked to a library libssl.so.6. To fix this execute
# ln -s /usr/lib/i386-linux-gnu/libssl.so.0.9.8 /usr/lib/i386-linux-gnu/libssl.so.6
Maybe you need to invoke ldconfig afterwards.
Norbert
I alread have both the following
ubuntu@ip-10-48-234-254:~/experimental$ aptitude search "~i" | grep ssl i A libio-socket-ssl-perl - Perl module implementing object oriented i i A libnet-ssleay-perl - Perl module for Secure Sockets Layer (SSL) i libssl0.9.8 - SSL shared libraries i A libssl1.0.0 - SSL shared libraries i openssl - Secure Socket Layer (SSL) binary and relat i python-openssl - Python wrapper around the OpenSSL library i A ssl-cert - simple debconf wrapper for OpenSSL
Thx,
Sven
participants (2)
-
Norbert Hartl -
Sven Van Caekenberghe