[Opendnssec-develop] libtool and dependency in statics
Jelte Jansen
jelte at NLnetLabs.nl
Mon Jun 8 14:22:28 UTC 2009
from a bit of experimenting after a build failure in the enforcer, I just found
out that libtool appears to do some form of lazy linking in its output:
libhsm.la depends on libldns.la, but it doesn't remember its location (i don't
use default paths for self-built software)
So when building the enforcer libtool wants libldns.la to be in /usr/local/lib,
and since the configure there rightfully does not contain an optin --with-ldns=,
it fails. Until i remove libhsm.la at the target (in this case
~/opt/opendnssec/lib/libhsm.la).
Does anyone if there is some magic chant for libtool to include the needed ldns
function in libhsm.la (or let it search the right location for libldns.la, it
does seem to be written into that .la file, but appears to be ignored...)
Jelte
More information about the Opendnssec-develop
mailing list