On Sat, 28 Jan 2012 16:52:05 GMT, michael(a)stroeder.com wrote:
Hmm, it seems I get better result linking smbk5pwd with
LDAP_LIB=-lldap_r -llber -L../../../libraries/libldap_r/.libs
instead of just
Is that the right solution when rpath is already set when invoking
If you build *and install* the rest of OpenLDAP first and then build
smbk5pwd, I imagine it'll work fine if -L and -rpath are the same.
Otherwise you should point -L at where all the
are, which with a dynamic build is the .lib/ directories.
After all -L is for build time and -rpath for runtime, and they should
be set so that you build against the same libraries you will run with.
At least I hope that's all. I wouldn't be surprised if some libtool
magic introduces more complications:-(