[Date Prev][Date Next] [Chronological] [Thread] [Top]

installation nighmare....

Hi all,

I am struggling installing the openldap on our sles 9:
Linux opsld01 2.6.5-7.191-smp #1 SMP Tue Jun 28 14:58:56 UTC 2005 x86_64 x86_64 x86_64 GNU/Linux

I did play a while ago after installing it through yast. However, I wanted to install the packages manually and have a little bit more control about it.
I installed different packages: cyrus-sasl, the openssl, the berkeleyDB but I got stuck with the openssl.

I created two directories under 'sw': 'include' and 'lib'. Those directories contains links to the lib and include files from any of my application. My environment is:

LDFLAGS= -L/bsc/sw/lib -Wl,-rpath -Wl,/bsc/sw/lib

If I try to compile openssl witht option --with-tls it crashes...

checking for sys/un.h... yes
checking for openssl/ssl.h... yes
checking for ssl.h... yes
checking for SSLeay_add_ssl_algorithms in -lssl... no
checking for SSL_library_init in -lssl... no
checking for ssl3_accept in -lssl... no
configure: error: Could not locate TLS/SSL package

I looked in the config.log and it says:

configure:10861: cc -o conftest -I/bsc/sw/include -I/bsc/sw/include -L/bsc/sw/lib -Wl,-rpath -Wl,/bsc/sw/lib conftest.c -lssl -lcrypto -lRSAglue -lrsaref -lresolv 1>&5
/bsc/sw/lib/libcrypto.a(dso_dlfcn.o)(.text+0x2d4): In function `dlfcn_bind_func':
: undefined reference to `dlsym'
/bsc/sw/lib/libcrypto.a(dso_dlfcn.o)(.text+0x32c): In function `dlfcn_bind_func':
: undefined reference to `dlerror'

I looked for the 'dlsym' in any library (static and dynamic) and I could find the following ones:

/usr/lib64/libdl.a:dlsym.o:0000000000000000 T dlsym
/usr/lib64/libdl.so .......

I copied both in my lib directory: /bsc/sw/lib but I still get the error message trying to compile it.

Does anybody can bring some light to this obscure problem?

Thanks a lot,

Xavier Fustero Benavent Phone:+34 9341 37718 Unix System Administrator Fax: +34 9341 37721
Barcelona Supercomputing Center (BSC) www.bsc.es
Centro Nacional de Supercomputacion CNS