On 11/4/2013 9:51 μμ, a b wrote:

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,@LIBDIR@

You mean I should set:

CFLAGS="${CFLAGS} -Wl/usr/local/openldap/lib64 -lldap -llber -rpath /usr/local/openldap/lib64"; export CFLAGS

...rather than LDFLAGS ?

-lldap and -llber remain in there as they were?

And what is @LIBDIR@ ? How do we use it?

By the way, why using LDFLAGS is a mistake and we should do it with CFLAGS?

Regards,
Nick

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

Reply via email to