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

-lresolv not found when building latest stable OpenLDAP in cygwin

$ uname -a
CYGWIN_NT-5.2 QA59848 1.5.21(0.156/4/2) 2006-07-30 14:21 i686 Cygwin

$ openssl version
OpenSSL 0.9.8b 04 May 2006

Downloaded 2.3.27 source, downloaded latest version of Berkeley DB
from sleepycat, built and installed BDB, using OpenSSL that came with
Cygwin package... ran configure, make depend and make in OpenLDAP
folder, bombed out on:

Entering subdirectory libldap make[2]: Entering directory `/cygdrive/c/openldap/openldap-2.3.27/libraries/libl dap' /bin/sh ../..//libtool --mode=link cc -static -g -O2 -o apitest apitest.o li bldap.la ../../libraries/liblber/liblber.la ../../libraries/liblutil/liblutil.a -lsasl2 -lssl -lcrypto cc -g -O2 -o apitest.exe apitest.o ./.libs/libldap.a /cygdrive/c/openldap/openl dap-2.3.27/libraries/liblber/.libs/liblber.a ../../libraries/liblber/.libs/liblb er.a ../../libraries/liblutil/liblutil.a /usr/lib/libsasl2.dll.a -lresolv -lssl -lcrypto /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lresolv collect2: ld returned 1 exit status make[2]: *** [apitest] Error 1

from what I can see all lresolv/lbind configure tests returned negative results.

Any tips/suggestions would be appreciated,