On 11/4/2013 4:20 μμ, a b wrote:

Please add "-rpath /usr/local/openldap/lib64" to your LDFLAGS so that you do not have to resort to LD_LIBRARY_PATH or ld.so.conf hacks.

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'

But it worked as:

LDFLAGS="${LDFLAGS} -L/usr/local/openldap/lib64 -lldap -llber -R/usr/local/openldap/lib64"; export LDFLAGS

Thanks again for your help! :-)

Cheers,
Nick


_______________________________________________
Pdns-users mailing list
[email protected]
http://mailman.powerdns.com/mailman/listinfo/pdns-users

Reply via email to