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

Re: Cannot find TLS package on Solaris 8 with OpenLDAP 2.0.19



On Fri, Jan 11, 2002 at 12:25:34PM -0000, Matt Ross wrote:
> I have been building OpenLDAP with SSL support (OpenSSL 0.9.6c) on
> Solaris 8 (Sparc). However, the configure script can never find the
> library for SSL. It gives config.log output thus:
> 
> configure:6490: checking for SSLeay_add_ssl_algorithms in -lssl
> configure:6509: gcc -o conftest -g -O2   conftest.c -lssl -lcrypto
> -lresolv -lge
> n -lnsl -lsocket  1>&5
> /var/tmp/ccQlQC7Q.o: In function `main':
> /home/technical/comtmgr/dev/openldap-2.0.19/configure:6505: undefined
> reference 
> to `SSLeay_add_ssl_algorithms'
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 6498 "configure"
> #include "confdefs.h"
> /* Override any gcc2 internal prototype to avoid an error.  */
> /* We use char because int might match the return type of a gcc2
>     builtin and then its argument prototype would still apply.  */
> char SSLeay_add_ssl_algorithms();
> 

try to add /usr/local/ssl/lib to your LD_LIBRARY_PATH


			Dumber
-- 
------------------------------------------------ 
Sure, I'm paranoid! But am I paranoid enough? ;)
Tomas Hornicek  
Operation & Maintenance Administration  
Globtel a.s., member of the Orange Group
hornicek@globtel.sk

- - - - - BEGIN GEEK CODE BLOCK - - - - -
Version: 3.12
http://www.geekcode.com
GCS/IT d- s+:+ a-- C++ UL++++$B++++S++++$ P- L+++ 
E--- W+++ N++ !o K- w O M- V- PS !PE Y PGP+++ !t 
!5 X !R tv-- b+ DI D+ G e h* r- y+
- - - - - END GEEK CODE BLOCK - - - - -