On Wed, Apr 04, 2012 at 11:23:24AM -0700, Jeremy Evans wrote:
> Apparently, linking against both ldap and ldap_r causes problems:
> 
> /usr/local/bin/ruby19:/usr/local/lib/libldap_r.so.11.0: 
> /usr/local/lib/libldap.so.11.0 : WARNING: symbol(ldap_int_global_options) 
> size mismatch, relink your program
> 
> This warning occurs when requiring ldap using ruby 1.8 or 1.9.  Also, it
> causes the ruby process to dump core when it exits.  This patch makes
> ruby-ldap only link against ldap, not ldap_r, which appears to fix this
> issue.


Maybe just ask upstream if there's a reason for linking against both..

Landry

Reply via email to