tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Open Ldap  2.1.22 compile woes on 5.1a
@ 2003-08-22  3:12 Greg Rudd
  0 siblings, 0 replies; only message in thread
From: Greg Rudd @ 2003-08-22  3:12 UTC (permalink / raw)


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@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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-08-22  3:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-22  3:12 Open Ldap 2.1.22 compile woes on 5.1a Greg Rudd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox