Created attachment 6440 [details] solaris10.config.log Hello, With specific directories set for openldap and krb5 compiled (CC sunstudio12) with the following options : ./configure --prefix=/ec/sw/krb5/1.9.1 --exec-prefix=/ec/sw/krb5/1.9.1 --without-tcl --without-krb4 --enable-static --disable-shared make make all make install ./configure --prefix=/ec/sw/openldap/2.4.23 -exec-prefix=/ec/sw/openldap/2.4.23 --disable-slapd --enable-static --disable-shared make depend make make install samba configure program is not working : export LDFLAGS="-L/ec/sw/openldap/2.4.23/lib -L/ec/sw/krb5/1.9.1/lib" ./configure --prefix=/ec/sw/samba/3.5.8 --exec-prefix=/ec/sw/samba/3.5.8 --with-ldap=/ec/sw/openldap/2.4.23 --with-krb5=/ec/sw/krb5/1.9.1 --with-ads --without-winbind --enable-static --disable-shared Please find in attachment the details of the config.log.
this is a well known problem. I see no easy way to fix this. Especially a clean fix (not just a hack) seems to be close to impossible with the two completely different libraries having the same name on the same system. Play around with LD_LIBRARY_PATH and the change the order of -L's in your resulting Makefile to force your build find the ldap library you want. If you know how to fix this in a clean way, please tell us. So far I'll close this as wontfix, sorry.