|
Dear Sir,
Today I try to install qmail server + LDAP in the server based on Solaris but I fail. I can only install qmail without difficulities but not for qmail + ldap. I think it might be wrong
with LDAP.
I follow the commands and got error messages as
follows:
gzip -d qmail-1.03.tar.gz tar xvf qmail-1.03.tar cd /backup/qmail/qmail-1.03 gpatch -pl < ../qmail-ldap-1.03-20011001a.patch cd /backup/qmail/qmail-1.03 vi conf-ld to say gcc -s and conf-cc to say gcc -02 make setup check After typing these commands, I got the compile error message as follows: ./load qmail-lspawn spawn.o prot.o slurpclose.o coe.o control.o \ check.o qldap-ldaplib.o qldap-debug.o output.o sig.a strerr.a constmap.o = \ 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 auto_break.o -L/usr/local/lib -lldap -llber /usr/local/lib/libldap.a(os-ip.o): In function `ldap_connect_to_host': /free3/SOURCES/openldap-1.2.11/libraries/libldap/os-ip.c:62: undefined reference to `inet_addr' /free3/SOURCES/openldap-1.2.11/libraries/libldap/os-ip.c:66: undefined reference to `gethostbyname' /free3/SOURCES/openldap-1.2.11/libraries/libldap/os-ip.c:80: undefined reference to `socket' /free3/SOURCES/openldap-1.2.11/libraries/libldap/os-ip.c:86: undefined reference to `setsockopt' /free3/SOURCES/openldap-1.2.11/libraries/libldap/os-ip.c:110: undefined referenc e to `connect' /free3/SOURCES/openldap-1.2.11/libraries/libldap/os-ip.c:136: undefined referenc e to `inet_ntoa' /free3/SOURCES/openldap-1.2.11/libraries/libldap/os-ip.c:159: undefined referenc e to `inet_ntoa' collect2: ld returned 1 exit status make: *** [qmail-lspawn] Error 1 What kind of reasons may cause those errors? What should I do to this? Thank
you!
Eddie Eddie Lin
Technology Development Dept. InterMOS Technology www.intermos.com.tw Office: +886-3-5795888#5506 [EMAIL PROTECTED] |
- Re: A install question for LDAP... Eddie
- Re: A install question for LDAP... Henning Brauer
