GnuPG 2.1.3 fails to build without LDAP support

Kristian Fiskerstrand kristian.fiskerstrand at sumptuouscapital.com
Sun Apr 12 14:11:56 CEST 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

GnuPG 2.1.3 has introduced a hard dependency on LDAP, resulting in
failure if openldap is not present despite being configured with
- --without-ldap. Full build log at [0], but the relevant snippet is

/lib\""               -O2 -pipe -Wall -Wno-pointer-sign
- -Wpointer-arith -c -o ldap-parse-uri.o ldap-parse-uri.c
ks-engine-ldap.c:43:19: fatal error: ldap.h: No such file or directory
 # include <ldap.h>
                   ^
compilation terminated.
Makefile:755: recipe for target 'ks-engine-ldap.o' failed
make[3]: *** [ks-engine-ldap.o] Error 1
make[3]: *** Waiting for unfinished jobs....
ldap-parse-uri.c:27:19: fatal error: ldap.h: No such file or directory
 # include <ldap.h>

missing some USE_LDAP enclosures?

References:
[0] https://bugs.gentoo.org/show_bug.cgi?id=546348
- -- 
- ----------------------------
Kristian Fiskerstrand
Blog: http://blog.sumptuouscapital.com
Twitter: @krifisk
- ----------------------------
Public OpenPGP key 0xE3EDFAE3 at hkp://pool.sks-keyservers.net
fpr:94CB AFDD 3034 5109 5618 35AA 0B7F 8B60 E3ED FAE3
- ----------------------------
"If the facts don't fit the theory, change the facts"
(Albert Einstein)
-----BEGIN PGP SIGNATURE-----

iQEcBAEBCgAGBQJVKmEJAAoJEP7VAChXwav6Br0H/3LdLBmsZY4xcYOoFQjduy5G
nbVUjwaDnF099MIdOitAvq9vRInYIZ7jIMoKtcCf2VdG/3i/P3wj2XBGbdXfRPYt
Gj0zAZrOVLVHpQXoL3Tbg38cfuI8ald/rVtR8Vu3QV0Akixhhc4kXf/ZRQB0lz4p
xvRuewaraJt5r4g0mJk71T2v67NM67YCynoSKgBllTgnhrV1qXIIuy0y0Xuk4jcF
WbByi2T+RiFTvDx1C/g5Ny71xQf+mOUrSSgtKw7JT6Imbrz4hPD1O1a4aaFRH75+
ZL8F0izrU+Ogy2fpgMVaKdUBMrgf02B8ELYM8+jziKO4X6C454eNEgo0oupz0QU=
=uSCe
-----END PGP SIGNATURE-----



More information about the Gnupg-devel mailing list