[Bug 274507] security/lastpass-cli: ld: error: undefined symbol: EVP_MD_get_size
Date: Sun, 15 Oct 2023 22:12:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274507
Bug ID: 274507
Summary: security/lastpass-cli: ld: error: undefined symbol:
EVP_MD_get_size
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs@FreeBSD.org
Reporter: john@saltant.com
Created attachment 245659
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=245659&action=edit
security/lastpass-cli: Pass OPENSSL_ROOT_DIR hint to CMake
The recent change, switching security/openssl from 1.1.1w to 3.0.11 uncovered a
latent bug in security/lastpass-cli, which always uses OpenSSL from base
regardless of the ssl setting in DEFAULT_VERSIONS. With
DEFAULT_VERSIONS+=ssl=openssl, the configure phase reports "Installing
openssl-3.0.11,1" and subsequently
-- Found OpenSSL: /usr/lib/libcrypto.so (found version "1.1.1t")
The build phase then terminates after
====
ld: error: undefined symbol: EVP_MD_get_size
>>> referenced by pbkdf2.c
>>> CMakeFiles/lpass.dir/pbkdf2.c.o:(fallback_pkcs5_pbkdf2_hmac)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1
Stop.
====
because OpenSSL 3.0 renamed EVP_MD_size to EVP_MD_get_size, retaining the
former as a non-deprecated alias implemented as a preprocessor macro.
--
You are receiving this mail because:
You are the assignee for the bug.