dirmngr won't link with liblber.so?

Baptiste Daroussin bapt at FreeBSD.org
Fri Sep 6 19:17:18 UTC 2013


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20130906/4b2744ce/attachment.sig>


More information about the freebsd-current mailing list