OpenSSL symbol not found error

I have compiled ruby-enterprise with a patch to address a compile issue
with openssl 0.9.8j (the patch works around duplicated method
declarations) and am getting this following error when running
capistrano:

dyld: lazy symbol binding failed: Symbol not found:
_EVP_CIPHER_CTX_cipher
  Referenced from:
/usr/local/ruby-enterprise-1.8.6-20090201/lib/ruby/1.8/i686-darwin9.6.0/openssl.bundle
  Expected in: flat namespace

dyld: Symbol not found: _EVP_CIPHER_CTX_cipher
  Referenced from:
/usr/local/ruby-enterprise-1.8.6-20090201/lib/ruby/1.8/i686-darwin9.6.0/openssl.bundle
  Expected in: flat namespace

Trace/BPT trap

Can anyone shed some light on this? FWIW I can load openssl (i.e.
require 'openssl') without any difficulty.

Thanks,
Tim

···

--
Posted via http://www.ruby-forum.com/.