[Bug 195206] security/gnupg: linker error: /usr/local/lib/liblber-2.4.so.2: could not read symbols: Bad value
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Nov 20 09:22:26 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195206
Matthieu Volat <mazhe at alkumuna.eu> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mazhe at alkumuna.eu
--- Comment #2 from Matthieu Volat <mazhe at alkumuna.eu> ---
Adding explicit link to liblber seems to solve the building:
Index: Makefile
===================================================================
--- Makefile (revision 372881)
+++ Makefile (working copy)
@@ -56,6 +56,7 @@
.if ${PORT_OPTIONS:MLDAP}
USE_OPENLDAP= YES
CONFIGURE_ARGS+=--with-ldap=${LOCALBASE}
+LDFLAGS+=-L${LOCALBASE}/lib -llber
.else
CONFIGURE_ARGS+=--disable-ldap
.endif
But after that you get a ${LOCALBASE}/bin/dirmngr conflict:
pkg-static: gnupg-2.1.0 conflicts with dirmngr-1.1.0_12 (installs files into
the same place). Problematic file: /usr/local/bin/dirmngr
On my system, it seems that security/dirmngr was installed by security/gnupg
and that it can/must be removed before updating. I guess portmaster should be
re-run on security/gnupg reverse-dependencies after that...
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list