Hello,
I am trying to compile OpenLDAP 2.3.39 on my sun box. Below details on my compilation environment :
[...]
PATH=/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin LD_LIBRARY_PATH=/usr/local/lib PKG=openldap-2.3.39 PREFIX=/usr/local
export PATH PKG PREFIX LD_LIBRARY_PATH
/usr/bin/env \
CC="/usr/local/bin/cc" \
CXX="/usr/local/bin/c++" \
CFLAGS="-O2 -pipe" \
LDFLAGS="-L/usr/local/ssl/lib/libssl.a
-L/usr/local/ssl/lib/libcrypto.a -L/usr/local/ssl/lib -L/usr/local/lib
-R/usr/local/lib" \
-- Bjørn