Date: Wed, 7 Oct 2009 13:37:19 GMT From: "Y.A." <nexther0@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/139391: VirtualBox build fails if openssl is installed from ports Message-ID: <200910071337.n97DbJQ3094093@www.freebsd.org> Resent-Message-ID: <200910071340.n97De1Kl087760@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 139391 >Category: ports >Synopsis: VirtualBox build fails if openssl is installed from ports >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 07 13:40:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Y.A. >Release: FreeBSD 7.2 >Organization: >Environment: >Description: Build fails if openssl is installed from ports: kmk[1]: Entering directory `/usr/home/wash/VBOX/virtualbox/work/virtualbox-2.2.51r20457' kmk[2]: Entering directory `/usr/home/wash/VBOX/virtualbox/work/virtualbox-2.2.51r20457' kBuild: Linking tstAPI /usr/local/lib/libssl.so.5: undefined reference to `d2i_X509_EXTENSIONS' /usr/local/lib/libssl.so.5: undefined reference to `ENGINE_get_ssl_client_cert_function' /usr/local/lib/libssl.so.5: undefined reference to `HMAC_CTX_set_flags' /usr/local/lib/libssl.so.5: undefined reference to `i2d_X509_EXTENSIONS' /usr/local/lib/libssl.so.5: undefined reference to `ENGINE_load_ssl_client_cert' /usr/local/lib/libssl.so.5: undefined reference to `EVP_idea_cbc' kmk[2]: *** [/usr/home/wash/VBOX/virtualbox/work/virtualbox-2.2.51r20457/out/freebsd.x86/release/obj/tstAPI/tstAPI] Error 1 The failing command: @g++ '-Wl,-rpath,/usr/local/lib/virtualbox' -m32 -o /usr/home/wash/VBOX/virtualbox/work/virtualbox-2.2.51r20457/out/freebsd.x86/release/obj/tstAPI/tstAPI /usr/home/wash/VBOX/virtualbox/work/virtualbox-2.2.51r20457/out/freebsd.x86/release/obj/tstAPI/tstAPI.o -L/usr/lib -L/usr/X11R6/lib -L/usr/local/lib /usr/home/wash/VBOX/virtualbox/work/virtualbox-2.2.51r20457/out/freebsd.x86/release/bin/VBoxRT.so /usr/home/wash/VBOX/virtualbox/work/virtualbox-2.2.51r20457/out/freebsd.x86/release/lib/VBoxCOM.a /usr/home/wash/VBOX/virtualbox/work/virtualbox-2.2.51r20457/out/freebsd.x86/release/bin/VBoxXPCOM.so kmk[2]: Leaving directory `/usr/home/wash/VBOX/virtualbox/work/virtualbox-2.2.51r20457' kmk[1]: *** [pass_binaries_this] Error 2 kmk[1]: Leaving directory `/usr/home/wash/VBOX/virtualbox/work/virtualbox-2.2.51r20457' kmk: *** [pass_binaries_order] Error 2 *** Error code 2 >How-To-Repeat: >Fix: --- configure.orig 2009-09-03 17:05:43.000000000 +0300 +++ configure 2009-10-07 14:03:11.000000000 +0300 @@ -102,7 +102,7 @@ XSLTPROC="xsltproc" GENISOIMAGE="genisoimage" MKISOFS="mkisofs" -LIBCRYPTO="-lcrypto" +LIBCRYPTO="-lcrypto -lssl" LIBPTHREAD="-lpthread" LIBCAP="-lcap" GSOAP="" >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910071337.n97DbJQ3094093>