dear everyone,
 
I encounter problem while compiling qmail-ldap in solaris 7.
 
Firstly, i install openldap 2.0.7 from http://www.sunfreeware.com
 
Then, i install patch-2.5-sol8-sparc-local as advised at
 
After patching, i run "make setup check" and the following errors crash the compilation:
 
./load qmail-lspawn spawn.o prot.o slurpclose.o coe.o control.o \
check.o qldap-ldaplib.o qldap-debug.o sig.a strerr.a getln.a \
wait.a case.a cdb.a fd.a seek.a open.a env.a stralloc.a alloc.a \
substdio.a str.a qldap-errno.o error.a fs.a auto_qmail.o \
auto_uids.o auto_usera.o auto_spawn.o -L/usr/local/lib -lldap -llber
Undefined                       first referenced
 symbol                             in file
socket                              /usr/local/lib/libldap.so
getpeername                         /usr/local/lib/libldap.so
dn_expand                           /usr/local/lib/libldap.so
gethostbyname_r                     /usr/local/lib/libldap.so
setsockopt                          /usr/local/lib/libldap.so
inet_aton                           /usr/local/lib/libldap.so
inet_ntoa                           /usr/local/lib/libldap.so
shutdown                            /usr/local/lib/libldap.so
gethostbyaddr_r                     /usr/local/lib/libldap.so
res_query                           /usr/local/lib/libldap.so
connect                             /usr/local/lib/libldap.so
ld: fatal: Symbol referencing errors. No output written to qmail-lspawn
collect2: ld returned 1 exit status
make: *** [qmail-lspawn] Error 1
 
Seems like the qmail-ldap make file has missed out some libraries for Solaris 7 environment? What do i do next?
 
Hoping for some tips ..... Thanks.
 
regards,
roland

Reply via email to