[Bug 274721] emulators/virtualbox-ose will not build on FreeBSD 12 due to SSL library error
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 25 Oct 2023 22:18:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274721 Bug ID: 274721 Summary: emulators/virtualbox-ose will not build on FreeBSD 12 due to SSL library error Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: vbox@FreeBSD.org Reporter: russo@bogodyn.org Assignee: vbox@FreeBSD.org Flags: maintainer-feedback?(vbox@FreeBSD.org) Trying to upgrade virtuabox-ose from 6.1.46 to 6.1.48, am now getting a linker error: ... kBuild: Installing /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.48/out/freebsd.amd64/release/bin/src/vboxdrv/Makefile ld: error: undefined symbol: SSL_get_peer_certificate >>> referenced by stdsoap2_ssl_cpp.cpp >>> libgsoapssl___a-stdsoap2_ssl_cpp.o:(soap_ssl_accept) in archive /usr/local/lib/libgsoapssl++.a >>> referenced by stdsoap2_ssl_cpp.cpp >>> libgsoapssl___a-stdsoap2_ssl_cpp.o:(tcp_connect(soap*, char const*, char const*, int)) in archive /usr/local/lib/libgsoapssl++.a >>> did you mean: SSL_get0_peer_certificate >>> defined in: /usr/local/lib/libssl.so c++: error: linker command failed with exit code 1 (use -v to see invocation) kmk: *** [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.48/out/freebsd.amd64/release/obj/webtest/webtest] Error 1 The failing command: @c++ '-Wl,-rpath,/usr/local/lib/virtualbox' -Wl,-z,noexecstack,-z,relro -Wl,--as-needed -m64 -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.48/out/freebsd.amd64/release/obj/webtest/webtest /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.48/out/freebsd.amd64/release/obj/webtest/webtest.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.48/out/freebsd.amd64/release/obj/webtest/gen/webservice/soapClient.o -L/usr/local/lib /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.48/out/freebsd.amd64/release/lib/vboxsoap.a -lgsoapssl++ -lz /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.48/out/freebsd.amd64/release/bin/VBoxRT.so -lpthread -lssl -lcrypto This is from a git update as of this morning. the gsoap package is installed and up to date (hence the presence of the required library) and is compiled with default options (GNUTLS and OPENSSL). My uname -a shows: FreeBSD xxxx.xxx 12.4-STABLE FreeBSD 12.4-STABLE stable/12-n236049-7812b9ef0dc1 GENERIC amd64 The virtualbox-ose package fails to link in this way irrespective of the "WEBSERVICE" option setting (I tried with both the default on and off, and the file it's failing on appears to be associated with that option). -- You are receiving this mail because: You are the assignee for the bug.