> 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,@LIBDIR@                                       
_______________________________________________
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users

Reply via email to