[Bug 191951] [build] stable/10 with WITHOUT_OPENSSL not compiling multiple issues

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Apr 1 18:30:29 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191951

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

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

--- Comment #3 from Bernard Spil <spil.oss at 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.


More information about the freebsd-bugs mailing list