Re: dirmngr won't link with liblber.so?

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Fri, 6 Sep 2013 21:17:13 +0200
On Fri, Sep 06, 2013 at 03:14:05PM -0400, Michael Butler wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> What's up with this? I recompiled openldap-client; I can do a 'nm
> liblber-2.4.so.8' without error but .. dirmngr won't link it?
> 
> cc -I/usr/local/include -O2 -pipe -march=pentium4 -DLDAP_DEPRECATED
> - -fno-strict-aliasing -Wall -Wno-pointer-sign  -L/usr/local/lib
> - -L/usr/local/lib -o dirmngr_ldap dirmngr_ldap-dirmngr_ldap.o
> dirmngr_ldap-no-libgcrypt.o   ../jnlib/libjnlib.a  -L/usr/local/lib
> - -lgpg-error -lldap
> /usr/bin/ld: :: invalid DSO for symbol `ber_free' definition
> /usr/local/lib/liblber-2.4.so.8: could not read symbols: Bad value
> gmake[4]: *** [dirmngr_ldap] Error 1
> gmake[4]: Leaving directory
> `/usr/ports/security/dirmngr/work/dirmngr-1.1.0/src'
> gmake[3]: *** [all-recursive] Error 1
> gmake[3]: Leaving directory `/usr/ports/security/dirmngr/work/dirmngr-1.1.0'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory `/usr/ports/security/dirmngr/work/dirmngr-1.1.0'
> ===> Compilation failed unexpectedly.
> Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
> the maintainer.
> *** Error code 1
> 
> Stop.
> make[1]: stopped in /usr/ports/security/dirmngr
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/ports/security/dirmngr
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.14 (FreeBSD)
> 
> iEYEARECAAYFAlIqKX0ACgkQQv9rrgRC1JKFGQCfQZbJUup+580t+RPaaX0MRE8G
> qf0AoKcmRUj1CzEt5My3jauJ+HnxOp8t
> =Gt8R
> -----END PGP SIGNATURE-----
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"

That mean the port is missing a LDFLAG: -llber-2.4


regards,
Bapt

Received on Fri Sep 06 2013 - 17:17:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:41 UTC