[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
where to look first? tracing openldap issues on OSX 10.2
hi all,
i've been trying to get OpenLDAP up-n-running on OSX 10.2
dl'd the CVS head today
make currently dies in/around apitest.c:
cc -dynamiclib -flat_namespace -undefined suppress -o
.libs/libldap.0.0.0.dylib bind.lo open.lo result.lo error.lo compare.lo
search.lo controls.lo messages.lo references.lo extended.lo cyrus.lo
modify.lo add.lo modrdn.lo delete.lo abandon.lo cache.lo sasl.lo sbind.lo
kbind.lo unbind.lo filter.lo free.lo sort.lo getdn.lo getentry.lo
getattr.lo getvalues.lo addentry.lo request.lo os-ip.lo url.lo sortctrl.lo
vlvctrl.lo init.lo options.lo print.lo string.lo util-int.lo schema.lo
charray.lo tls.lo os-local.lo dnssrv.lo utf-8.lo utf-8-conv.lo version.lo
-L/usr/local/BerkeleyDB.4.0/lib -L../../libraries/liblber/.libs -llber
-lssl -lcrypto -lc -install_name /usr/local/ldap/lib/libldap.0.dylib
-compatibility_version 1 -current_version 1.0
(cd .libs && rm -f libldap.0.dylib && ln -s libldap.0.0.0.dylib
libldap.0.dylib)
(cd .libs && rm -f libldap.dylib && ln -s libldap.0.0.0.dylib libldap.dylib)
ar cru .libs/libldap.a bind.o open.o result.o error.o compare.o search.o
controls.o messages.o references.o extended.o cyrus.o modify.o add.o
modrdn.o delete.o abandon.o cache.o sasl.o sbind.o kbind.o unbind.o
filter.o free.o sort.o getdn.o getentry.o getattr.o getvalues.o addentry.o
request.o os-ip.o url.o sortctrl.o vlvctrl.o init.o options.o print.o
string.o util-int.o schema.o charray.o tls.o os-local.o dnssrv.o utf-8.o
utf-8-conv.o version.o
ranlib .libs/libldap.a
ranlib: file: .libs/libldap.a(kbind.o) has no symbols
creating libldap.la
(cd .libs && rm -f libldap.la && ln -s ../libldap.la libldap.la)
cc -L/usr/local/BerkeleyDB.4.0/lib -I../../include -I../../include
-c -o apitest.o apitest.c
/bin/sh /usr/ports/ldap/libtool --mode=link cc -static
-L/usr/local/BerkeleyDB.4.0/lib -I/usr/local/BerkeleyDB.4.0/include -o
apitest apitest.o libldap.la ../../libraries/liblber/liblber.la
../../libraries/liblutil/liblutil.a -lssl -lcrypto
cc -I/usr/local/BerkeleyDB.4.0/include -o apitest apitest.o
-L/usr/local/BerkeleyDB.4.0/lib ./.libs/libldap.a
/Volumes/workspace/ports/ldap/libraries/liblber/.libs/liblber.a
../../libraries/liblber/.libs/liblber.a ../../libraries/liblutil/liblutil.a
-lssl -lcrypto
ld: Undefined symbols:
___inet_addr
___inet_ntoa
___inet_ntop
make[2]: *** [apitest] Error 1
make[1]: *** [all-common] Error 1
make: *** [all-common] Error 1
man inet points to libc :
NAME
inet_aton, inet_addr, inet_network, inet_ntoa, inet_ntop, inet_pton,
inet_makeaddr, inet_lnaof, inet_netof - Internet address manipulation
routines
LIBRARY
Standard C Library (libc, -lc)
which should be picked up properly ....
i've tried the gamut of 'usual' tricks (glibtoolize, -flat_namespace,
-undefined suppress, etc, etc) to no avail ....
can ne1 help point me in the right direction .... am i missing something
silly here?
MANY thanks!
richard
--------------------------------------
R Blake
blakers <at> mac.com