Re: Help needed for libssl ABI change
For some reasons looks like you are using static libssl.a library.
I don't know if this is the issue, but with static library libssl.a and dynamic libcrypto, I don't know how much the linker will be happy to mix them together
quoting the upstream makefile
ifneq ($(wildcard /usr/lib/x86_64-linux-gnu/libssl.a),)
L+=/usr/lib/x86_64-linux-gnu/libssl.a
else
ifneq ($(wildcard /usr/local/opt/openssl/lib/libssl.a),)
L+=/usr/local/opt/openssl/lib/libssl.a
else
L+=-lssl
endif
(so for x86_64-linux-gnu only libssl.a is taken)
ifneq ($(wildcard /opt/local/lib/libcrypto.a),)
L+=/opt/local/lib/libcrypto.a
else
ifneq ($(wildcard /usr/local/opt/openssl/lib/libcrypto.a),)
L+=/usr/local/opt/openssl/lib/libcrypto.a
else
L+=-lcrypto
endif
You end up mixing static and dynamic ssl libraries.
If you remove the "x86_64-linux-gnu" from wildcard, the libssl.a wont' be found anymore, and you will end up with the very same behaviour and build failure of
i386 build, such as the one here:
PATH=/builds/med-team/libucsc/debian/output/source_dir/debian/tmp_blat/usr/bin:/usr/lib/ccache/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin make --directory=src/blat test
make[2]: Entering directory '/builds/med-team/libucsc/debian/output/source_dir/src/blat'
blat -verbose=0 hCrea.geno hCrea.mrna testRna.psl
make[2]: blat: No such file or directory
make[2]: *** [makefile:21: test] Error 127
make[2]: Leaving directory '/builds/med-team/libucsc/debian/output/source_dir/src/blat'
make[1]: *** [debian/rules:37: override_dh_auto_test] Error 2
make[1]: Leaving directory '/builds/med-team/libucsc/debian/output/source_dir'
G.
Il venerdì 15 settembre 2023 alle ore 12:56:32 CEST, Andreas Tille <andreas@an3as.eu> ha scritto:
Hi,
I'm trying to build libucsc which fails to build[1]. I suspect this is
due to an ABI change in libssl 1.1 to 3.x. Any help how to fix this
would be really apreciated.
Kind regards
Andreas.
[1] https://salsa.debian.org/med-team/libucsc/-/pipelines/579427
--
http://fam-tille.de
Reply to: