Date: Wed, 05 Feb 2014 12:41:55 +0100 From: Kurt Jaeger <fbsd-ports@opsec.eu> To: FreeBSD-gnats-submit@freebsd.org Cc: wg@freebsd.org, matthieu@labs.fr Subject: ports/186478: [patch update] security/sslscan linker fix (adding -lcrypto) Message-ID: <E1WB0rb-000HI2-EX@f10.opsec.eu> Resent-Message-ID: <201402051150.s15Bo0C3070976@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 186478 >Category: ports >Synopsis: [patch update] security/sslscan linker fix (adding -lcrypto) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Feb 05 11:50:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Kurt Jaeger >Release: FreeBSD 10.0-RELEASE amd64 >Organization: - >Environment: System: FreeBSD f10.opsec.eu 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: building sslscan fails with a linker error: [...] /usr/bin/ld: : invalid DSO for symbol `BN_num_bits' definition //usr/local/lib/libcrypto.so.8: could not read symbols: Bad value cc: error: linker command failed with exit code 1 (use -v to see invocation) [...] Adding -lcrypto fixes this. >How-To-Repeat: cd /usr/ports/security/sslscan make >Fix: diff -r -u -N security/sslscan/files/patch-Makefile /usr/home/pi/myp/security/sslscan/files/patch-Makefile --- security/sslscan/files/patch-Makefile 2014-01-22 23:18:22.000000000 +0100 +++ /usr/home/pi/myp/security/sslscan/files/patch-Makefile 2014-02-05 12:38:18.000000000 +0100 @@ -10,7 +10,7 @@ all: - gcc -g -Wall -lssl -o sslscan $(SRCS) $(LDFLAGS) $(CFLAGS) -+ ${CC} -g -Wall -lssl -o sslscan $(SRCS) $(LDFLAGS) $(CFLAGS) ++ ${CC} -g -Wall -lssl -lcrypto -o sslscan $(SRCS) $(LDFLAGS) $(CFLAGS) install: - cp sslscan $(BINPATH) >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1WB0rb-000HI2-EX>