I have been unable to get configure to find the correct kerberos files if the
SUN packages are installed. I specified the kerberos file locations in the
arguments to configure. My configure line is
CC='cc' CXX=CC \
-I/usr/local/BerkeleyDB.4.1/include -I/usr/local/openssl/include' \
-L/usr/local/sasl/lib -L/usr/local/kerberos/lib -L/usr/local/BerkeleyDB.4.1/lib
-L/usr/local/openssl/lib -R\\$$ORIGIN -R/usr/local/lib/sparcv9
-R/usr/local/openldap/lib -R/usr/local/sasl/lib -R/usr/local/kerberos/lib
-R/usr/local/BerkeleyDB.4.1/lib -R/usr/local/openssl/lib' \
The workaround has been to temporarily move the SUN package files out of the way
while building Samba.
I'm pretty sure this is the same bug.
*** This bug has been marked as a duplicate of 433 ***