Date: Sun, 15 Oct 2023 22:12:08 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 274507] security/lastpass-cli: ld: error: undefined symbol: EVP_MD_get_size Message-ID: <bug-274507-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274507 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=3D245659&action= =3Dedit security/lastpass-cli: Pass OPENSSL_ROOT_DIR hint to CMake The recent change, switching security/openssl from 1.1.1w to 3.0.11 uncover= ed a latent bug in security/lastpass-cli, which always uses OpenSSL from base regardless of the ssl setting in DEFAULT_VERSIONS. With DEFAULT_VERSIONS+=3Dssl=3Dopenssl, 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 =3D=3D=3D=3D ld: error: undefined symbol: EVP_MD_get_size >>> referenced by pbkdf2.c >>> CMakeFiles/lpass.dir/pbkdf2.c.o:(fallback_pkcs5_pbkdf2_hm= ac) cc: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. =3D=3D=3D=3D 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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274507-7788>