Hi all
Has anyone come accross the following problem when trying to compile
openldap-2.1.22 on 5.1a PK5 and has anyone found a way out
Entering subdirectory libldap
cc -pthread -arch host -I../../include -I../../include
-I/usr/local/BerkeleyDB.4.1/include -I/usr/local/ssl/include
-I/usr/local/ssl/include/openssl -I/usr/local/include -c dntest.c
/bin/sh /home/sysadmin/greg/openldap-2.1.22/libtool --mode=link cc -static
-pthread -arch host -L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.1/lib
-L/usr/local/lib -o dntest dntest.o libldap.la
../../libraries/liblber/liblber.la ../../libraries/liblutil/liblutil.a
-lssl -lcrypto
cc -pthread -arch host -o dntest dntest.o -L/usr/local/ssl/lib
-L/usr/local/BerkeleyDB.4.1/lib -L/usr/local/lib ./.libs/libldap.a
/home/sysadmin/greg/openldap-2.1.22/libraries/liblber/.libs/liblber.a
../../libraries/liblber/.libs/liblber.a ../../libraries/liblutil/liblutil.a
-lssl -lcrypto
ld:
Unresolved:
AC_GAI_STRERROR
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.
I was thinking that this is this some compatability issue between BerkleyDB
and OPEN LDAP which in BerkleyDBs case uses the standard POSIX thread library
and OPEN LDAP which casuses the linker to bomb out
Configure options used --with-wrapers --without-threads
Compiler used Compaq CC
CFLAGS USED -pthread -arch host
LDFAGS USED -L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.1/lib
-L/usr/local/lib
CPPFLAGS USED -I/usr/local/BerkeleyDB.4.1/include -I/usr/local/ssl/include
-I/usr/local/ssl/openssl/include -I/usr/local/include
Note both GCC and Compaq CC were used with both giving the same results even
when PTH thread libraries are compiled in
Thanks in advance.
-greg
--
Greg Rudd
Computer Systems Officer
Information Technology Services
University Of Sydney
PH: +61 2 9351 5531
Fax +61 2 0351 6004
email: grudd_at_mail.usyd.edu.au
-------------------------------------------------
/"\ ASCII Ribbon Campaign against HTML
\ / email
X
/ \
-------------------------------------------------
For more info on why you should not send html in email go to
http://www.american.edu/cas/econ/htmlmail.htm
Received on Fri Aug 22 2003 - 03:13:53 NZST