Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Sep 2013 21:17:13 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Michael Butler <imb@protected-networks.net>
Cc:        FreeBSD Current <freebsd-current@FreeBSD.org>
Subject:   Re: dirmngr won't link with liblber.so?
Message-ID:  <20130906191712.GH59360@ithaqua.etoilebsd.net>
In-Reply-To: <522A297D.3040709@protected-networks.net>
References:  <522A297D.3040709@protected-networks.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--6cMF9JLEeZkfJjkP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Sep 06, 2013 at 03:14:05PM -0400, Michael Butler wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>=20
> 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?
>=20
> cc -I/usr/local/include -O2 -pipe -march=3Dpentium4 -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=
=2E0'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory `/usr/ports/security/dirmngr/work/dirmngr-1.1=
=2E0'
> =3D=3D=3D> Compilation failed unexpectedly.
> Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failur=
e to
> the maintainer.
> *** Error code 1
>=20
> Stop.
> make[1]: stopped in /usr/ports/security/dirmngr
> *** Error code 1
>=20
> Stop.
> make: stopped in /usr/ports/security/dirmngr
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.14 (FreeBSD)
>=20
> iEYEARECAAYFAlIqKX0ACgkQQv9rrgRC1JKFGQCfQZbJUup+580t+RPaaX0MRE8G
> qf0AoKcmRUj1CzEt5My3jauJ+HnxOp8t
> =3DGt8R
> -----END PGP SIGNATURE-----
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"

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


regards,
Bapt

--6cMF9JLEeZkfJjkP
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlIqKjgACgkQ8kTtMUmk6Ex5ZACePLwnAKYvIdzEyYL1XYlIObSv
NtkAoLF0vdcAqYuomHleYzOoaQVdrL1v
=EGZZ
-----END PGP SIGNATURE-----

--6cMF9JLEeZkfJjkP--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130906191712.GH59360>