Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Apr 2015 18:30:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 191951] [build] stable/10 with WITHOUT_OPENSSL not compiling multiple issues
Message-ID:  <bug-191951-8-XkQklLsbHX@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191951-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-191951-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191951

Bernard Spil <spil.oss@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |spil.oss@gmail.com

--- Comment #3 from Bernard Spil <spil.oss@gmail.com> ---
Looks like it's easy to link libfetch to port's OpenSSL.

NB. Have NOT tested if this is functional!

--- lib/libfetch/Makefile.orig  2015-04-01 20:26:51.215998490 +0200
+++ lib/libfetch/Makefile       2015-04-01 20:26:32.724999161 +0200
@@ -17,7 +17,7 @@
 .if ${MK_OPENSSL} != "no"
 CFLAGS+=       -DWITH_SSL
 DPADD=         ${LIBSSL} ${LIBCRYPTO}
-LDADD=         -lssl -lcrypto
+LDADD=         -L/usr/local/lib -lssl -lcrypto
 .else
 DPADD=         ${LIBMD}
 LDADD=         -lmd

Results in

# readelf -d /usr/obj/usr/src/lib/libfetch/libfetch.so.6

Dynamic section at offset 0x110b0 contains 24 entries:
  Tag        Type                         Name/Value
 0x0000000000000001 (NEEDED)             Shared library: [libssl.so.32]
 0x0000000000000001 (NEEDED)             Shared library: [libcrypto.so.32]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.7]
 0x000000000000000e (SONAME)             Library soname: [libfetch.so.6]

-- 
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-191951-8-XkQklLsbHX>