I think I got my configure args right: --with-openssl-dir=/usr/local/
ssl
However, I still have the same problem.
So I go into ruby-1.8.6-p114/ext/openssl and do
$ ruby extconf.rb
=== OpenSSL for Ruby configurator ===
=== Checking for system dependent stuff... ===
checking for t_open() in -lnsl... yes
checking for socket() in -lsocket... 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
<------------ *choke*
checking for OpenSSL_add_all_digests() in -llibeay32... no
<------------ *choke*
=== Checking for required stuff failed. ===
Makefile wasn't created. Fix the errors above.
Ok, a slight modification to the previous email got me going. It's
frustrating how much fiddling was required to make this build
properly, given that so much else about the build process (in general,
not just with respect to Ruby) is automated these days!