OpenSSL 1.1.1 libssl.so version number
freebsd.current at clogic.com.ua
freebsd.current at clogic.com.ua
Sat Oct 13 05:51:16 UTC 2018
On 2018-10-13 02:56, Don Lewis wrote:
> Prior to the OpenSSL 1.1.1 import, the base OpenSSL library was
> /usr/lib/libssl.so.8. The security/openssl port (1.0.2p) installed
> ${LOCALBASE}/lib/ilbssl.so.9 and the security/openssl-devel port
> (1.1.0i) installed ${LOCALBASE}/lib/libssl.so.11. After the import,
> the
> base OpenSSL library is /usr/lib/libssl.so.9. Now if you build ports
> with DEFAULT_VERSIONS+=ssl=openssl, the library that actually gets used
> is ambiguous because there are now two different versions of libssl.so
> (1.0.2p and 1.1.1) with the same shared library version number.
>
> I stumbled across this when debugging a virtualbox-ose configure
> failure. The test executable was linked to the ports version of
> libssl.so but rtld chose the base libssl.so at run time.
I see the same issue with ports-mgmt/pkg when security/openssl
installed. Have DEFAULT_VERSIONS+=ssl=openssl in /etc/make.conf
After rebuild pkg on 12-ALPHA9 system:
# pkg
ld-elf.so.1: /usr/local/lib/libcrypto.so.9: version OPENSSL_1_1_0
required by /usr/local/lib/libpkg.so.4 not defined
More information about the freebsd-current
mailing list