NAKAMURA, Hiroshi wrote:
> BTW, if you've once run extconf.rb by yourself, do you know the
> Makefile you generated installs files to site_dir by default.
> Don't your site_dir have openssl.so?

I did a 'make distclean' after mucking around with extconf.rb, so I 
think I am safe. SSL built ok and loads ok now. This is all I have under 
/usr/local/lib/ruby/1.9:

$ cd /usr/local/lib/ruby/1.9
$ find . -name '*openssl*'
./openssl.rb
./openssl
./i686-linux/openssl.so

However, I couldn't get the drbssl example to run:

====== terminal 1
$ ruby drbssl_s.rb
drbssl://localhost:3456
======

====== terminal 2
$ ruby drbssl_c.rb
foo
/usr/local/lib/ruby/1.9/drb/drb.rb:705:in `open': 
drbssl://localhost:3456 - #<NoMethodError: undefined method 
`verify_message' for #<OpenSSL::X509::StoreContext:0x402051fc>> 
(DRb::DRbConnError)
         from /usr/local/lib/ruby/1.9/drb/drb.rb:698:in `each'
         from /usr/local/lib/ruby/1.9/drb/drb.rb:698:in `open'
         from /usr/local/lib/ruby/1.9/drb/drb.rb:1084:in `initialize'
         from /usr/local/lib/ruby/1.9/drb/drb.rb:1067:in `new'
         from /usr/local/lib/ruby/1.9/drb/drb.rb:1067:in `open'
         from /usr/local/lib/ruby/1.9/drb/drb.rb:1014:in `method_missing'
         from drbssl_c.rb:18
======

(The 'foo' is my input, and the output I expected was 'Hello, foo.'.)

Anyone have any ideas why this is happening? (There were very few hits 
for drbssl on google.)