configure problem --- Can't find recent OpenSSL libcrypto

Santanu Misra santanu.misra at reuters.com
Fri Jun 21 10:29:40 EST 2002


Hello Gurus,

I tried my best as I can to do RTFM and Googling to find any information to
solve the problem myself which I failed.

I installed OpenSSL 0.9.6d 9 May 2002 with this option on a Solaris 8 box
using Sun Forte6-2 

$config solaris64-sparcv9-cc --prefix=/local/santanu/pkg/ssl

Now I am trying to install openssh 3.2.3p1 and getting this error.

configure:8285: error: *** Can't find recent OpenSSL libcrypto (see
config.log for details) ***


I tried 

./configure --with-ssl-dir=/local/santanu/pkg/ssl and 
./configure --with-ssl-dir=/local/santanu/pkg/ssl/lib
and then I tried to export LIBRARY_PATH as some one mentioned in the mailing
list. No luck yet.

configure:8285: error: *** Can't find recent OpenSSL libcrypto (see
config.log for details) ***

I am not a programmer but after looking details in config.log I found it is
giving this error when it looks for symbol 'RAND_add'. But when I do nm on
libcrypto I get like this.

/local/santanu/pkg/ssl/lib> nm libcrypto.a | grep -i RAND_add
 [27]    |             0|           0|FUNC |GLOB |0    |UNDEF  |RAND_add
[3]     |           248|        1068|FUNC |LOCL |0    |2
|ssleay_rand_add
[25]    |             0|           0|FUNC |GLOB |0    |UNDEF  |RAND_add
[18]    |           360|          68|FUNC |GLOB |0    |2      |RAND_add
[23]    |             0|           0|FUNC |GLOB |0    |UNDEF  |RAND_add
[57]    |             0|           0|FUNC |GLOB |0    |UNDEF  |RAND_add
[96]    |             0|           0|FUNC |GLOB |0    |UNDEF  |RAND_add


Any help will be great. But PLEASE think and read twice my mail before U
mention to do RTFM for me.


-Thanks in advance,

Santanu









configure:7846: result: yes
configure:8215: cc -o conftest -g -I/local/santanu/pkg/ssl/include
-I/usr/local/include -L/local/santanu/pkg/ssl/lib -R/lo
cal/santanu/pkg/ssl/lib  -L/usr/local/lib -R/usr/local/lib conftest.c -lz
-lsocket -lnsl  -lcrypto >&5
Undefined                       first referenced
 symbol                             in file
RAND_add                            conftest.o
ld: fatal: Symbol referencing errors. No output written to conftest
configure:8218: $? = 1
configure: failed program was:
#line 8189 "configure"
#include "confdefs.h"
Santanu Misra              Email:  santanu.misra at reuters.com
Sr. System Administrator   Direct: 650-461-3110
Reuters                    Main:   650-461-3000        
3375 Hillview Avenue       Fax:    650-461-3003       
Palo Alto, CA 94304        WWW:    http://www.reuters.com/

 




More information about the openssh-unix-dev mailing list