2 existing openssls conflicting in FreeBSD 14

Carson Gaspar carson at taltos.org
Thu Mar 7 17:07:34 UTC 2024


On 3/6/2024 8:03 PM, The Doctor via openssl-users wrote:
> The first I have seen this
>
> /usr/local/bin/openssl version -a
> ld-elf.so.1: /usr/lib/libssl.so.3: version OPENSSL_3.2.0 required by /usr/local/bin/openssl not found
> root at doctor:/usr/source/openssh-SNAP-20240306 # /usr/bin/openssl version -a
> OpenSSL 3.0.14-dev  (Library: OpenSSL 3.0.14-dev )
> built on: Thu Mar  7 01:12:56 2024 UTC
> platform: BSD-x86_64
> options:  bn(64,64)
> compiler: /usr/local/bin/clang17 -fPIC -pthread -Wa,--noexecstack -Qunused-arguments -Wall -O3 -DL_ENDIAN -DOPENSSL_PIC -D_THREAD_SAFE -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL -DZLIB -DZLIB_SHARED -DNDEBUG
> OPENSSLDIR: "/usr/ssl"
> ENGINESDIR: "/usr//lib/engines-3"
> MODULESDIR: "/usr//lib/ossl-modules"
> Seeding source: os-specific
> CPUINFO: OPENSSL_ia32cap=0x7ffef3ffffebffff:0x21cbfbb
>
> So why is openssl v3.2 referring to /usr/lib/libssl.so.3 which is
> an openssl 3.0 library?

Because you built it incorrectly and didn't set RPATH when you installed 
it into a non-standard location.

PEBKAC

You were also rather amazingly rude when you complained previously on 
the OpenSSH mailing list.

-- 

Carson



More information about the openssl-users mailing list