[Date Prev][Date Next] [Chronological] [Thread] [Top]

Compiling problem



I'm attempting to compile OpenLdap 2.1.20 on a Solaris 8 platform
(UltraSparc Arch, to clarify). I need to use OpenLDAP for my Apache 2
environment.

The problem I seem to have eveytime I do a "make", I run in to the same
error

  Entering subdirectory libldap
make[2]: Entering directory
`/export/home/sujm/src/openldap-2.1.17/libraries/libldap'
/bin/sh /export/home/sujm/src/openldap-2.1.17/libtool --mode=link
cc -static -g -O2     -o dntest dntest.o libldap.la
../../libraries/liblber/liblber.la
/../libraries/liblutil/liblutil.a   -lssl -lcrypto   -lbind -lgen -lnsl -lso
cket
cc -g -O2 -o dntest dntest.o  ./.libs/libldap.a
/export/home/sujm/src/openldap-2.1.17/libraries/liblber/.libs/liblber.a
../../libraries/liblber/.libs/liblber.a
../../libraries/liblutil/liblutil.a -lssl -lcrypto -lbind -lgen -lnsl -lsock
et
./.libs/libldap.a(dnssrv.o): In function `ldap_domain2hostlist':
/export/home/sujm/src/openldap-2.1.17/libraries/libldap/dnssrv.c:203:
undefined reference to `res_query'
/export/home/sujm/src/openldap-2.1.17/libraries/libldap/dnssrv.c:214:
undefined reference to `dn_expand'
/export/home/sujm/src/openldap-2.1.17/libraries/libldap/dnssrv.c:223:
undefined reference to `dn_expand'
/export/home/sujm/src/openldap-2.1.17/libraries/libldap/dnssrv.c:238:
undefined reference to `dn_expand'
collect2: ld returned 1 exit status
make[2]: *** [dntest] Error 1
make[2]: Leaving directory
`/export/home/sujm/src/openldap-2.1.17/libraries/libldap'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/export/home/sujm/src/openldap-2.1.17/libraries'
make: *** [all-common] Error 1


Has anyone seen or dealt wit this error, or at least can help me resolve it?

Thanks