Attempting to compile Samba 3.2.7 on Solaris 8 & 10 Sparc with latest patches bundle, in 64 bits mode with Active Directory, ldap and Kerberos. On Solaris 10, flags are following: LDFLAGS=-L/usr/sfw/lib/amd64 -L/usr/sfw/lib/64 -L/usr/lib -L/usr/local/lib -R/usr/sfw/lib/amd64:/usr/sfw/lib/64:/usr/local/lib:/usr/lib -lsasl LD_LIBRARY_PATH=/usr/lib/64:/lib/64:/usr/sfw/lib:/usr/local/lib:/usr/lib CFLAGS=-m64 -I/usr/include -I/usr/local/include CC=gcc PATH=/usr/ccs/bin:/usr/sfw/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/bin:/etc:/usr/openwin/bin:/usr/dt/bin:/usr/ucb:/usr/lib/nis:.:/usr/sbin/install.d:/usr/local/bin:/usr/ccs/bin:/usr/sfw/bin:/opt/sfw/bin LD_LIBRARY_PATH=/usr/lib/64:/lib/64:/usr/sfw/lib:/usr/local/lib:/usr/lib Configure is following: ./configure --prefix=/usr/local/samba --with-ads --with-ldap --with-winbind --with-krb5=/usr/local all depends are compiled in 64 bit mode: libiconv-1.11 openldap-2.4.17 krb5-1.3.3 db-4.7.25 Configure result: when checking for ldap_initialize config.log : Undefined first referenced symbol in file ldap_initialize /var/tmp//ccs4Ke3Q.o I tried on following 64 bits systems : Solaris 8 Sparc Solaris 10 x86 Solaris 10 Sparc and same result !! It seems that the sources can not be configured in 64 bit mode when you use openldap ! I have no problem on 32 bit mode with same configure options. Regards, Eric
In 3.2. things like this won't be fixed any more. Can you test with 3.4 and see if that works? I guess this is fixes meanwhile. If it still doesn't work feel free to reopen this bug.