Building on Solaris 8 - RAND_add (etc) errors

Eileen Reilly-Horch reillye at
Tue Jun 19 02:50:44 EST 2001

I was running into the problem building OpenSSH on
that many others reported - configure failed stating:
configure:4354: checking for OpenSSL directory
configure:4411: cc -o conftest -g 
-I/usr/local/include -I/usr/include 
-I/usr/local/ssl/include -L/usr/local/lib
-L/usr/local/ssl/lib -R/usr/local/lib
-R/usr/local/ssl/lib conftest.c -lz -lsocket -lnsl 
-lgen -lcrypto 1>&5
Undefined                       first referenced
 symbol                             in file
RAND_add                            conftest.o
RAND_status                         conftest.o
ld: fatal: Symbol referencing errors. No output
written to conftest
configure: failed program was:
#line 4397 "configure"
#include "confdefs.h"

The solution to this problem that I found is to build
OpenSSL with 32 bit support only (i.e, do ./config - 
do NOT do ./Configure solaris64-sparcv9-cc), then
configure OpenSSH.  

I hope this helps!

Eileen Reilly-Horch

Do You Yahoo!?
Spot the hottest trends in music, movies, and more.

More information about the openssh-unix-dev mailing list