[Pdns-users] Building pdns RPMs using custom LDAP libraries/headers
a b
tripivceta at hotmail.com
Thu Apr 11 18:51:15 UTC 2013
> Hmm, it didn't work like that:
>
> LDFLAGS="${LDFLAGS} -L/usr/local/openldap/lib64 -lldap -llber -rpath
> /usr/local/openldap/lib64"; export LDFLAGS
>
> In config.log:
>
> gcc: unrecognized option '-rpath'
That means that ./configure is using the compiler front end (gcc) to link the executable, which is correct and good, but is using LDFLAGS to do that, which is a mistake.
For linking with the front end, the ./configure script should be using CFLAGS:
-Wl,-rpath, at LIBDIR@
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20130411/5dbe5b26/attachment-0001.html>
More information about the Pdns-users
mailing list