I have a Solaris 8 x86 machine.

I've tried compiling OpenSSL 0.9.6b with all of the following:
gcc 2.95.3 (sunfreeware.com package)
gcc 3.0.1  (sunfreeware.com package)
gcc 3.0.2  (compiled and installed it from source to exclude any 32bit vs 64bit issues.

I'm compiling with:

tar -xvf openssl-0.9.6b.tar.gz
cd openssl-0.9.6b
./config --prefix=/usr --openssldir=/etc/ssl shared
make MANDIR=/usr/share/man

and when the process is done I have the necessary static and shared libraries
openssl-0.9.6b/libcrypto.a
openssl-0.9.6b/libcrypto.so.0.9.6
openssl-0.9.6b/libRSAglue.a
openssl-0.9.6b/libssl.a
openssl-0.9.6b/libssl.so.0.9.6
(and of course some various symlinks to these libraries.)

now if I install them and then try to compile OpenSSH2.9.9p2 the compilation fails
because it can't find suitable OpenSSL libraries. Why isn't RAND_add, RAND_status and
the other RAND_* functions compiled and linked into the openssl shared libraries?

The answer is NOT "use need to use --with-ssl-dir= or you need to pass -I, -L or -l
flags to gcc to find the libraries) How do I know? because I can use nm to show
that the libraries don't have RAND_* included...

bash-2.03# /usr/local/bin/nm *.so* | grep RAND
bash-2.03#

There are no symbols containing RAND in the shared libraries built for openssl.

What do I need to do to configure openssl so that it builds *AND* includes the
RAND_* functions in the shared libraries?

Thanks,

- Jeff Wiegley

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to