I am trying to compile openssl 3.4 daily snap
The openssl executable gives me
ld-elf.so.1: /usr/lib/libssl.so.3: version OPENSSL_3.2.0\
required by /usr/source/openssl-openssl-3.4-20250228/apps/openssl not found
What am I doing wrong?
On Fri, 28 Feb 2025 14:06:26 +0000, The Doctor wrote:
I am trying to compile openssl 3.4 daily snap
The openssl executable gives me
ld-elf.so.1: /usr/lib/libssl.so.3: version OPENSSL_3.2.0\
required by /usr/source/openssl-openssl-3.4-20250228/apps/openssl not found >>
What am I doing wrong?
Looks like the executable is linked against the openssl
library installed with FreeBSD. What does ldd(1) say
about the executable you're trying to use?
% ldd <path>/apps/openssl
Also, look at the library cache,
% ldconfig -r | grep libssl
158:-lssl.30 => /usr/lib/libssl.so.30
Does 3.4 build (and install) a libssl.so.32? IF yes, then
you likely need to set LD_LIBRARY_PATH and/or LD_RUN_PATH
environmental varaible to find it.
--
steve
doctor@doctor.nl2k.ab.ca (The Doctor) writes:
I am trying to compile openssl 3.4 daily snap
The openssl executable gives me
ld-elf.so.1: /usr/lib/libssl.so.3: version OPENSSL_3.2.0 required by
/usr/source/openssl-openssl-3.4-20250228/apps/openssl not found
What am I doing wrong?
There's a thread in this very newsgroup with subject
GNU screen libc.so.7 issue
that begins with article
<87sesawn3v.fsf@jemoni.to>
It might be of some help.
In article <vpsnn2$3o0kk$1@dont-email.me>,
Steven G. Kargl <sgk@REMOVEtroutmask.apl.washington.edu> wrote:
On Fri, 28 Feb 2025 14:06:26 +0000, The Doctor wrote:
I am trying to compile openssl 3.4 daily snap
The openssl executable gives me
ld-elf.so.1: /usr/lib/libssl.so.3: version OPENSSL_3.2.0\
required by /usr/source/openssl-openssl-3.4-20250228/apps/openssl not found >>>
What am I doing wrong?
Looks like the executable is linked against the openssl
library installed with FreeBSD. What does ldd(1) say
about the executable you're trying to use?
% ldd <path>/apps/openssl
./apps/openssl:
libssl.so.3 => /usr/lib/libssl.so.3 (0xe08e860b000)
libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0xe08e9452000)
Also, look at the library cache,118:-lssl.3 => /usr/lib/libssl.so.3
% ldconfig -r | grep libssl
158:-lssl.30 => /usr/lib/libssl.so.30
153:-lssl.30 => /usr/lib/libssl.so.30
674:-lssl.16 => /usr/local/lib/libssl.so.16
704:-lsslspamc.0 => /usr/local/lib/libsslspamc.so.0
1448:-lssl.13 => /usr/local/lib/libssl.so.13
2339:-lssl.3 => /usr/local/lib/libssl.so.3
2393:-lssl.4 => /usr/local/lib/compat/pkg/libssl.so.4
Does 3.4 build (and install) a libssl.so.32? IF yes, then
you likely need to set LD_LIBRARY_PATH and/or LD_RUN_PATH
environmental varaible to find it.
It builds a libssl.so.53 and a libcrypto.so.3
Also Hereis the script I am using to build openssl 3.4enable-sctp no-afalgeng no-asan no-brotli no-brotli-dynamic no-buildtest-c++ no-crypto-mdebug no-crypto-mdebug-backtrace no-demos no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-gost no-h3demo no-jitter no-ktls no-legacy no-md2 no-msan no-pie
env LD_LIBRARY_PATH=/usr/local/lib:/lib:/usr/lib PATH=/usr/local/bin:/bin:/usr/bin --with-rpath=-Wl,-rpath, CC=/usr/local/bin/clang19 ./Configure --openssldir=/usr/local/openssl --prefix=/usr/local enable-ec_nistp_64_gcc_128 enable-fips enable-rc5
On Fri, 28 Feb 2025 20:17:31 +0000, The Doctor wrote:
In article <vpsnn2$3o0kk$1@dont-email.me>,
Steven G. Kargl <sgk@REMOVEtroutmask.apl.washington.edu> wrote:
On Fri, 28 Feb 2025 14:06:26 +0000, The Doctor wrote:
I am trying to compile openssl 3.4 daily snap
The openssl executable gives me
ld-elf.so.1: /usr/lib/libssl.so.3: version OPENSSL_3.2.0\
required by /usr/source/openssl-openssl-3.4-20250228/apps/openssl not found
What am I doing wrong?
Looks like the executable is linked against the openssl
library installed with FreeBSD. What does ldd(1) say
about the executable you're trying to use?
% ldd <path>/apps/openssl
./apps/openssl:
libssl.so.3 => /usr/lib/libssl.so.3 (0xe08e860b000)
libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0xe08e9452000)
Also, look at the library cache,118:-lssl.3 => /usr/lib/libssl.so.3
% ldconfig -r | grep libssl
158:-lssl.30 => /usr/lib/libssl.so.30
153:-lssl.30 => /usr/lib/libssl.so.30
674:-lssl.16 => /usr/local/lib/libssl.so.16
704:-lsslspamc.0 => /usr/local/lib/libsslspamc.so.0
1448:-lssl.13 => /usr/local/lib/libssl.so.13
2339:-lssl.3 => /usr/local/lib/libssl.so.3
2393:-lssl.4 => /usr/local/lib/compat/pkg/libssl.so.4
Does 3.4 build (and install) a libssl.so.32? IF yes, then
you likely need to set LD_LIBRARY_PATH and/or LD_RUN_PATH
environmental varaible to find it.
It builds a libssl.so.53 and a libcrypto.so.3
Are you install libssl.so.53? That's the one you likely
need.
no-buildtest-c++ no-crypto-mdebug no-crypto-mdebug-backtrace no-demos
Also Hereis the script I am using to build openssl 3.4
env LD_LIBRARY_PATH=/usr/local/lib:/lib:/usr/lib >PATH=/usr/local/bin:/bin:/usr/bin --with-rpath=-Wl,-rpath, >CC=/usr/local/bin/clang19 ./Configure --openssldir=/usr/local/openssl >--prefix=/usr/local enable-ec_nistp_64_gcc_128 enable-fips enable-rc5 >enable-sctp no-afalgeng no-asan no-brotli no-brotli-dynamic
no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-gost no-h3demo >no-jitter no-ktls no-legacy no-md2 no-msan no-pie no-rc2 no-sm2 no-sm3
no-sm4 no-ssl3 no-ssl3-method no-tfo no-tls1 no-tls1_1 no-trace no-ubsan >no-unit-test no-uplink no-weak-ssl-ciphers no-winstore no-zlib >no-zlib-dynamic no-zstd no-zstd-dynamic ; make depend
That's the script while building. When executing you may to set
the environmental variables to point to where libssl.so.53
lives. If 53 is installed in /usr/local/lib, you may need to
run ldconfig to update the rtld cache. Can you try something like
% cat openssl.sh
#! /bin/sh
LD_LIBRARY_PATH=<path_to_53>
export LD_LIBRARY_PATH
LD_RUN_PATH=<path_to_53>
export LD_RUN_PATH
./apps/openssl $@
--
steve
doctor@doctor.nl2k.ab.ca (The Doctor) writes:
In article <87v7stc372.fsf@example.com>,
Salvador Mirzo <smirzo@example.com> wrote:
doctor@doctor.nl2k.ab.ca (The Doctor) writes:
I am trying to compile openssl 3.4 daily snap
The openssl executable gives me
ld-elf.so.1: /usr/lib/libssl.so.3: version OPENSSL_3.2.0 required by
/usr/source/openssl-openssl-3.4-20250228/apps/openssl not found
What am I doing wrong?
There's a thread in this very newsgroup with subject
GNU screen libc.so.7 issue
that begins with article
<87sesawn3v.fsf@jemoni.to>
It might be of some help.
Date?
Thread begins on
Fri, 01 Nov 2024 20:28:04 -0300.
In article <87v7stc372.fsf@example.com>,
Salvador Mirzo <smirzo@example.com> wrote:
doctor@doctor.nl2k.ab.ca (The Doctor) writes:
I am trying to compile openssl 3.4 daily snap
The openssl executable gives me
ld-elf.so.1: /usr/lib/libssl.so.3: version OPENSSL_3.2.0 required by
/usr/source/openssl-openssl-3.4-20250228/apps/openssl not found
What am I doing wrong?
There's a thread in this very newsgroup with subject
GNU screen libc.so.7 issue
that begins with article
<87sesawn3v.fsf@jemoni.to>
It might be of some help.
Date?
I am trying to compile openssl 3.4 daily snap
The openssl executable gives me
ld-elf.so.1: /usr/lib/libssl.so.3: version OPENSSL_3.2.0 required by /usr/source/openssl-openssl-3.4-20250228/apps/openssl not found
What am I doing wrong?
There's a thread in this very newsgroup with subject
GNU screen libc.so.7 issue
that begins with article
<87sesawn3v.fsf@jemoni.to>
It might be of some help.
Date?
Thread begins on
Fri, 01 Nov 2024 20:28:04 -0300.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 21:36:42 |
Calls: | 10,390 |
Calls today: | 1 |
Files: | 14,061 |
Messages: | 6,416,984 |