[Bug 279591] emulator/virtualbox-ose: kldload: unexpected relocation type 42, symbol index 1397
Date: Sun, 09 Jun 2024 06:30:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279591 --- Comment #6 from Martin Filla <freebsd@sysctl.cz> --- (In reply to Vladimir Druzenko from comment #4) kBuild: Installing scm => /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.50/out/freebsd.amd64/release/bin/tools/scm kBuild: Compiling vboxwebsrv - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.50/src/VBox/Main/webservice/vboxweb.cpp kBuild: Generating /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.50/out/freebsd.amd64/release/obj/webservice/methodmaps.cpp kBuild: Compiling vboxwebsrv - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.50/out/freebsd.amd64/release/obj/webservice/methodmaps.cpp kBuild: Compiling vboxwebsrv - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.50/out/freebsd.amd64/release/obj/webservice/soapServer.cpp kBuild: bin2c vboxweb-wsdl - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.50/out/freebsd.amd64/release/obj/webservice/vboxweb.wsdl kBuild: Compiling vboxwebsrv - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.50/out/freebsd.amd64/release/obj/webservice/vboxweb-wsdl.c kBuild: Linking vboxwebsrv 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 clang-14: error: linker command failed with exit code 1 (use -v to see invocation) kmk: *** [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.50/out/freebsd.amd64/release/obj/vboxwebsrv/vboxwebsrv] Error 1 The failing command: @clang++14 '-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.50/out/freebsd.amd64/release/obj/vboxwebsrv/vboxwebsrv /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.50/out/freebsd.amd64/release/obj/vboxwebsrv/vboxweb.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.50/out/freebsd.amd64/release/obj/vboxwebsrv/gen/webservice/methodmaps.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.50/out/freebsd.amd64/release/obj/vboxwebsrv/gen/webservice/soapServer.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.50/out/freebsd.amd64/release/obj/vboxwebsrv/gen/webservice/vboxweb-wsdl.o -L/usr/local/lib /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.50/out/freebsd.amd64/release/lib/vboxsoap.a -lgsoapssl++ -lz /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.50/out/freebsd.amd64/release/bin/VBoxRT.so /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.50/out/freebsd.amd64/release/bin/VBoxRT.so /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.50/out/freebsd.amd64/release/lib/VBoxCOM.a /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.50/out/freebsd.amd64/release/bin/VBoxXPCOM.so -lssl -lcrypto *** Error code 2 -- You are receiving this mail because: You are the assignee for the bug.