[Bug 193915] New: Linking against openssl port fails for mail/spamd, security/stunnel suspect missing -L/usr/local/lib ?
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Sep 25 05:50:16 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193915
Bug ID: 193915
Summary: Linking against openssl port fails for mail/spamd,
security/stunnel suspect missing -L/usr/local/lib ?
Product: Ports Tree
Version: Latest
Hardware: Any
OS: Any
Status: Needs Triage
Severity: Affects Some People
Priority: ---
Component: Infrastructure
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: dewayne at heuristicsystems.com.au
mail/spamd and security/stunnel fail to find libcrypto and libssl respectively
using ports tree
Last Changed Rev: 369213
Last Changed Date: 2014-09-25 09:02:45 +1000 (Thu, 25 Sep 2014)
However all ports are successfully built using the tree
Last Changed Rev: 368374
Last Changed Date: 2014-09-17 23:56:16 +1000 (Wed, 17 Sep 2014)
Initially mail/spamd was unable to find the include files. So I cheated and
created
ln -s /usr/local/include/openssl /usr/include/openssl
the next attempt resulted in
/usr/local/libexec/ccache/cc -O2 -pipe -pipe -O2 -g0 -ggdb0 -march=pentium3
-mtune=pentium3 -fno-strict-aliasing -Wall -Wstrict-prototypes -std=gnu99
-Qunused-arguments -fstack-protector -o spamd spamd.o sdl.o grey.o sync.o
-lcrypto -lmd
/usr/bin/ld: cannot find -lcrypto
cc: error: linker command failed with exit code 1 (use -v to see invocation)
security/stunnel similarly fails,
libtool: link: /usr/local/libexec/ccache/cc -pthread -fstack-protector -fPIE
-O2 -pipe -pipe -O2 -g0 -ggdb0 -march=pentium3 -mtune=pentium3
-fno-strict-aliasing -Wall -Wextra -Wno-long-long -pedantic -pthread -o stunnel
stunnel-str.o stunnel-file.o stunnel-client.o stunnel-log.o stunnel-options.o
stunnel-protocol.o stunnel-network.o stunnel-resolver.o stunnel-ssl.o
stunnel-ctx.o stunnel-verify.o stunnel-sthreads.o stunnel-fd.o
stunnel-stunnel.o stunnel-pty.o stunnel-libwrap.o stunnel-ui_unix.o
-L/usr/lib64 -L/usr/lib -lssl -lcrypto -lz -lutil -lpthread -lwrap -pthread
/usr/bin/ld: cannot find -lssl
I suspect that a -L/usr/local/lib has been lost somewhere between the port tree
revisions. I did perform a diff on /usr/ports/Mk but the changes were too
extensive.
FYI: The jailed build environment differs only in the nullfs mount points for
/usr/ports (or /usr/ports-200140925)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list