Summary: | net-libs/libupnp-1.14.18[ssl] fails tests: ld.lld: error: undefined reference due to --no-allow-shlib-undefined: OPENSSL_init_crypto | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Conrad Kostecki <conikost> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | conikost |
Priority: | Normal | Keywords: | TESTFAILURE |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 731004 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
2024-03-04 08:35:25 UTC
Created attachment 886646 [details]
build.log
build log and emerge --info
@orbea: do you have also an idea on this? @Conrad The linker command is missing -lcrypto and its failing with an undefined reference for OPENSSL_init_crypto because of --no-allow-shlib-undefined which I presume is being set by lld? On my system with libressl-3.9.0 it fails the same way, but with OPENSSL_add_all_algorithms_noconf instead which is also in libcrypto. However I can't find any sign of OPENSSL_init_crypto or OPENSSL_add_all_algorithms_noconf inside of the libupnp source, am I just missing it? The build does succeed on my end if I add -lcrypto, but I am not sure why it wants it? |