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

Re: (ITS#4579) Openssl configure message on RHEL4



In the FAQ-Omatic page (http://www.openldap.org/faq/data/cache/196.html), it says openssl 0.9.6 is 
needed but it does not say anything about newer versions like 0.9.7x or 0.9.8x and which one is the 
recommended version? It would be good if you had an updated list of recommended software versions to 
be using which are pre-requisites to building openldap.

I downloaded and installed openssl 0.9.8b in /opt/local then tried running configure with the latest 
openldap-2.3.24 and I get not TLS/SSL support:

configure:19583: checking OpenSSL library version (CRL checking capability)
configure:19617: result: yes
configure:19646: WARNING: Could not locate TLS/SSL package
configure:19648: WARNING: TLS data protection not supported!
configure:19676: checking for _beginthread
configure:19733: cc -o conftest -L/opt/local/lib -L/opt/local/lib/sasl2 -I/opt/local/include -I/opt/loca
l/include/sasl -I/opt/local/include/openssl -L/opt/local/lib -L/opt/local/lib/sasl2 -L/usr/lib64 conftes
t.c -lresolv  >&5
/tmp/ccga1AqV.o(.text+0xb): In function `main':
: undefined reference to `_beginthread'
/tmp/ccga1AqV.o(.data+0x0): undefined reference to `_beginthread'
collect2: ld returned 1 exit status
configure:19739: $? = 1
configure: failed program was:

Since 0.9.8b did not work, then I backed down to openssl 0.9.7j which openldap seemed to like during 
configure, however it did not work during make. The error was related to ssl and said:

relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; 
recompile with -fPIC

After recompiling openssl-0.9.7j with the -fPIC option, I was able to build openldap-2.3.24 just fine.

Thanks,

Diego

Kurt D. Zeilenga wrote:
> IIRC, this problem is not specific to OpenLDAP Software.  It's
> a problem with certain OpenSSL packages for RH/FC Linux.  A
> quick search shows similar problems building Wine, IMAP, etc..
> 
> Unforunately, I don't recall the recommended resolution...
> but you might check for updated OpenSSL (and dependent)
> packages for your operating system.
> 
> Kurt
> 
> At 04:37 AM 6/7/2006, diego.remolina@ibb.gatech.edu wrote: