Trying to build samba-3.0.31rc2 on Solaris 8 sparc using Sun's Forte Developer 7 C 5.4. I get the following error: Compiling libads/sasl.c "libads/sasl.c", line 81: undefined symbol: LDAP_SASL_BIND_IN_PROGRESS "libads/sasl.c", line 104: undefined symbol: LDAP_SASL_BIND_IN_PROGRESS "libads/sasl.c", line 129: undefined symbol: LDAP_SASL_BIND_IN_PROGRESS "libads/sasl.c", line 137: cannot recover from previous errors cc: acomp failed for libads/sasl.c *** Error code 2
A little more info. When I run configure, it says near the end: Using libraries: LIBS = -lsendfile -lresolv -lnsl -lsocket -ldl LDAP_LIBS = -lldap AUTH_LIBS = When I configure RC1, I get instead: Using libraries: LIBS = -lsendfile -lresolv -lnsl -lsocket -ldl AUTH_LIBS = And above that I see: configure: WARNING: libldap is needed for LDAP support I am going to force a configure without ldap and see what happens. Note that RC1 does build ok.
If I configure with '--without-ldap' it builds ok. It doesn't seem to work, but that will be another bug. Note that Solaris 8 does have a libldap.so in /usr/lib and a ldap.h in /usr/include, so configure may have been correct in trying to build with -lldap. It seems that the configure form earlier versions did not try to use ldap however.
This problem still exists in samba-3.0.21c.
In the current 3_0 svn tree there have been fixes for this. Can you check that out and try to compile? Thanks, Volker
It looks like I would have to get and install svn to do that. Maybe next week if I can make the time for that. Is there a bug with a patch that I could apply instead? If I get svn, would I get trunk or something else?
Please test with SAMBA_3_0. See http://samba.org/samba/devel/ for some documentation how to use it.
I finally got subversion and autoconf and was able to get and build the samba_3_0 tree. libads/sasl.c now builds without complaint. I expect that this can now be closed or marked as a duplicate or some such.
Fixed sometime after 3.0.21c.