# OpenSSL symbol not found error

**URL:** <https://www.ruby-forum.com/t/openssl-symbol-not-found-error/163389>\
**Category:** Ruby\
**Created:** [March 19, 2009, 7:38pm UTC](https://www.ruby-forum.com/t/openssl-symbol-not-found-error/163389 "2009-03-19T19:38:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![s0nspark](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f475e1/32.png) [@s0nspark](https://www.ruby-forum.com/u/s0nspark)\
**Post date:** [March 19, 2009, 7:38pm UTC](https://www.ruby-forum.com/t/openssl-symbol-not-found-error/163389/1 "2009-03-19T19:38:23Z")

</div>

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
