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

Re: OpenLDAP on OSX?



Great! I applied the patch and it got past that file, but then I got this error:

cc -g -O2 -o dntest dntest.o ./.libs/libldap.a /Users/mlb/downloads/openldap-2.1.23/libraries/liblber/.libs/liblber.a ../../libraries/liblber/.libs/liblber.a ../../libraries/liblutil/liblutil.a -lssl -lcrypto
ld: Undefined symbols:
_res_9_dn_expand
_res_9_query
make[2]: *** [dntest] Error 1
make[1]: *** [all-common] Error 1
make: *** [all-common] Error 1


any ideas?

Thanks!

------------------------------------------------------------------------ --------------------------
Marc Boorshtein
Software Engineer, Octet String
marc.boorshtein@octetstring.com


On Nov 17, 2003, at 9:48 PM, Howard Chu wrote:

This is a pretty simple problem. See ITS#2763, the fix is in CVS.
http://www.openldap.org/its/index.cgi/Build?id=2763

As for BDB 4.1 - read the OpenLDAP INSTALL file, read the FAQ, etc.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support

-----Original Message-----
From: owner-openldap-software@OpenLDAP.org
[mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Marc Boorshtein

Has anyone had any luck building and installing OpenLDAP on OSX?  I
downloaded the latest but I can't build it.  I downloaded BDB 4.1,
which built and installed ok into /usr/local/BerkeleyDB.4.1/lib/ .
When configuring it says it can't find bdb.  I disabled bdb, which
allowed it to configure and make dep, but during make I get the
following error:

/bin/sh /Users/mlb/downloads/openldap-2.1.23/libtool
--mode=compile cc
-g -O2 -I../../include        -I../../include     -DLDAP_LIBRARY -c
dnssrv.c
rm -f .libs/dnssrv.lo
cc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c
dnssrv.c
-fno-common -DPIC -o .libs/dnssrv.lo
dnssrv.c: In function `ldap_domain2hostlist':
dnssrv.c:203: error: `C_IN' undeclared (first use in this function)
dnssrv.c:203: error: (Each undeclared identifier is reported only once
dnssrv.c:203: error: for each function it appears in.)
dnssrv.c:213: error: `HEADER' undeclared (first use in this function)
make[2]: *** [dnssrv.lo] Error 1
make[1]: *** [all-common] Error 1
make: *** [all-common] Error 1

Any thoughts?

Thanks

--------------------------------------------------------------
----------
--------------------------
Marc Boorshtein
Software Engineer, Octet String
marc.boorshtein@octetstring.com