The Samba-Bugzilla – Bug 788
Build fails on solaris 7 with OpenLDAP/Kerberos
Last modified: 2005-11-14 09:24:50 UTC
The configure script works fine without errors:
# env "LDFLAGS=-L/usr/local/openldap/lib -L/usr/local/kerberos/lib" \
> env "CPPFLAGS=-I/usr/local/openldap/include -I/usr/local/kerberos/include \
> ./configure \
> --with-krb5=/usr/local/kerberos \
But after, when I tipped in:
The compilation fails with this output:
Undefined first referenced
symbol in file
ld: fatal: Symbol referencing errors. No output written to bin/smbd
collect2: ld returned 1 exit status
make: *** [bin/smbd] Error 1
OpenLDAP 2.1.22 ist built with tls/ssl and sasl support and reports no error.
I think you have a dirty build. Did you build Samba before
without LDAP support (possibly before OpenLDAP was installed).
I went through this sam scenario with someone recently.
Make sure to run make distclean and then try compiling again.
closing. no feedback. Assuming config issue.