Summary: | security/gnupg: linker error: /usr/local/lib/liblber-2.4.so.2: could not read symbols: Bad value | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | O. Hartmann <ohartmann> |
Component: | Individual Port(s) | Assignee: | kuryiama |
Status: | Closed DUPLICATE | ||
Severity: | Affects Some People | CC: | kuriyama, lantw44, lev, mazhe, mjl, tijl, timon |
Priority: | --- | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
O. Hartmann
2014-11-20 07:39:05 UTC
Maintainers CC'd 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... Over to maintainer. Same problem on 10.1-STABLE with openldap-client-2.4.40_1 10.1-RELEASE, Matthieu Volat patch works like a charm for me. Poudriere built all packages fine and didn't find conflicts. 10.1-RELEASE, Matthieu Volat's patch works like a charm for me. Poudriere built all packages fine and didn't find conflicts. Fix included in bug 196301 *** This bug has been marked as a duplicate of bug 196301 *** |