I tried building ruby 1.8.2 preview 2 and noticed that I didn't get 
openssl (require 'openssl' fails).

So then I saw something about the --with-openssl-dir option for 
configure, and I ran configure again using:
  ./configure --with-openssl-dir=/usr/local/ssl/include/openssl/

Then 'make'.  I checked in ext/openssl, but there was no .so file built.

I next tried:
  cd ext/openssl
  C_INCLUDE_PATH='/usr/local/ssl/include' ruby extconf.rb

And got:
=== OpenSSL for Ruby configurator ===
=== Checking for system dependent stuff... ===
checking for t_open() in -lnsl... no
checking for socket() in -lsocket... no
checking for unistd.h... yes
checking for sys/time.h... yes
checking for assert.h... yes
=== Checking for required stuff... ===
checking for openssl/ssl.h... yes
checking for OpenSSL_add_all_digests() in -lcrypto... no
checking for OpenSSL_add_all_digests() in -llibeay32... no
=== Checking for required stuff failed. ===
Makefile wasn't created. Fix the errors above.


Do I need a newer version of libcrypto or libeay32?

$ uname -a
Linux jed.home.com 2.4.19-16mdk #1 Fri Sep 20 18:15:05 CEST 2002 i686 
unknown unknown GNU/Linux

(Mandrake 10.0 with the older 2.4.19 kernel)

Phil