[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: openldap compile w/ TLS on solaris 8
Have you checked you config.log (look for 'lssl' and 'lcrypto')?
Anyway, try prepending this to your configure environment:
LIBS='-lssl -lcrypto -lresolv -lnsl -lsocket'
On Mon, 10 Dec 2001, JR Mayberry wrote:
> I've tried compiling and recompiling at least half a dozen times on Solaris
> 8 -- I for the life of me am not able to get libldap.so to say its compiled
> with libcrypto.a and libssl.a.
>
> Any ideas will be greatly appreciated:
>
> Here are some of my environments to help..
>
> openldap 2.0.18, everything is good in /opt/openssl
>
> LD_LIBRARY_PATH=/opt/openssl/lib
> LD_RUN_PATH=/opt/openssl/lib
> CPPFLAGS="-I/usr/local/BerkeleyDB/include -I/opt/openssl/include -I/opt/open
> ldap/include"
> LDFLAGS="-L/usr/local/BerkeleyDB/lib -L/opt/openssl/lib -L/opt/openldap/lib
> -R/opt/openssl/lib:/usr/local/lib"
> export CPPFLAGS LDFLAGS LD_LIBRARY_PATH LD_RUN_PATH
>
> ./configure --prefix=/opt/openldap --with-cyrus-sasl --enable-ldbm --with-tl
> s --enable-slurpd
>
> # ldd ./libldap.so
> libsasl.so.7 => /usr/lib/libsasl.so.7
> libc.so.1 => /usr/lib/libc.so.1
> libdl.so.1 => /usr/lib/libdl.so.1
> libpam.so.1 => /usr/lib/libpam.so.1
> libresolv.so.2 => /usr/lib/libresolv.so.2
> libsocket.so.1 => /usr/lib/libsocket.so.1
> libnsl.so.1 => /usr/lib/libnsl.so.1
> libmp.so.2 => /usr/lib/libmp.so.2
> /usr/platform/SUNW,UltraAX-i2/lib/libc_psr.so.1
>
> Ideas?
>
>
--
Erik Persson, System Manager <erik@roxen.com>
Roxen Internet Software Voice: +46 13 376817