Hi all,
When I swithed to the newest version og pgbuildfarm, I noticed that
--with-ldap (now by defaut) didn't work on UnixWare.
This is because, on Unixware, ldap needs lber and resolv.
Not being a configure guru, I made the change bellow locally and that
works for me.
Surely, one of you hackers can come up with a better solution!
*** configure.orig lun déc 11 14:58:55 2006
--- configure lun déc 11 15:22:06 2006
***************
*** 17185,17191 **** echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS
! LIBS="-lldap $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF
--- 17185,17191 ---- echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS
! LIBS="-lldap -llber -lresolv $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF
***************
*** 17248,17254 **** #define HAVE_LIBLDAP 1 _ACEOF
! LIBS="-lldap $LIBS"
else { { echo "$as_me:$LINENO: error: library 'ldap' is required for LDAP" >&5
--- 17248,17254 ---- #define HAVE_LIBLDAP 1 _ACEOF
! LIBS="-lldap -llber -lresolv $LIBS"
else { { echo "$as_me:$LINENO: error: library 'ldap' is required for LDAP" >&5
***************
*** 17256,17262 **** { (exit 1); exit 1; }; } fi
! LDAP_LIBS_BE="-lldap" if test "$enable_thread_safety" = yes; then # on some platforms ldap_r fails to
linkwithout PTHREAD_LIBS
--- 17256,17262 ---- { (exit 1); exit 1; }; } fi
! LDAP_LIBS_BE="-lldap -llber -lresolv" if test "$enable_thread_safety" = yes; then # on some platforms
ldap_rfails to link without PTHREAD_LIBS
***************
*** 17339,17345 ****
LDAP_LIBS_FE="-lldap_r" else
! LDAP_LIBS_FE="-lldap" fi else
--- 17339,17345 ----
LDAP_LIBS_FE="-lldap_r" else
! LDAP_LIBS_FE="-lldap -llber -lresolv" fi else
When I have time, I intend to update the SCO FAQ if someone can tell me
what should be in...
Many thanks for the great release!!!
--
Olivier PRENANT Tel: +33-5-61-50-97-00 (Work)
15, Chemin des Monges +33-5-61-50-97-01 (Fax)
31190 AUTERIVE +33-6-07-63-80-64 (GSM)
FRANCE Email: ohp@pyrenet.fr
------------------------------------------------------------------------------
Make your life a dream, make your dream a reality. (St Exupery)