Nick Ellson writes:
« HTML content follows »I was running a rebuild of a few Gentoo ebuilds, and I noticed that courier was failing to rebuild (same version I am currently showing installed and is functional)... The error I get ... checking lber.h usability... yes checking lber.h presence... yes checking for lber.h... yes checking for ldap.h... yesconfigure: error: ldap.h header found, but a test compile failed -- check ldapaddressbook/config.log for more detailsconfigure: error: ./configure failed for ldapaddressbook
As the error message says, check ldapaddressbook/config.log for more details.You'll probably find that the link with -lldap failed. The exact error message will tell you why. Either libldap.so is installed somewhere where the linker doesn't look, by default, or it has additional dependencies that libldap.so requires, but for some reason your build of openldap is not explicitly linked against it, and expects all openldap clients to explicitly link against them, by themselves.
Either way, you'll need to use some additional flags to configure. The exact flags depend on your actual error.
pgpAllJd63jn8.pgp
Description: PGP signature
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users