[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: back_ldap.so.2: undefined symbol: rewrite_info_init



> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Lank, Tim

> I configured OpenLDAP v2.1.29 with the following command:
> 
> 
> configure --enable-modules --enable-ldap --enable-rewrite 
> --with-ldap-module=dynamic
> make depend
> make
> make install
> 
> When I try and uncomment the lines:
> 
> modulepath     /usr/local/libexec/openldap
> moduleload     back_ldap.la
> 
> and then start up the slapd it gives the following:
> 
> back_ldap.so.2: undefined symbol: rewrite_info_init
> 
> Does anybody know how to get around this exactly?

Add librewrite to the libraries that get linked into back_ldap. This whole
situation is messy because librewrite is only built as a static library, and
not all platforms allow static code to be linked into dynamic objects.

Alternatively, when libtool is doing its job correctly, and slapd gets linked
with the -dlopen-self option, slapd should automatically bring in and provide
the librewrite functions. Seems like that didn't happen this time, and you
didn't mention what OS you're using. Probably the support for your OS is
broken in libtool 1.4.3.

> **************************************************************
> *************************************
> The information in this email is confidential and may be 
> legally privileged.  Access to this email by anyone other 
> than the intended addressee is unauthorized.  If you are not 
> the intended recipient of this message, any review, 
> disclosure, copying, distribution, retention, or any action 
> taken or omitted to be taken in reliance on it is prohibited 
> and may be unlawful.  If you are not the intended recipient, 
> please reply to or forward a copy of this message to the 
> sender and delete the message, any attachments, and any 
> copies thereof from your system.
> **************************************************************
> *************************************

You really shouldn't send "confidential legally privileged" communications to
public mailing lists.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support 

<<attachment: winmail.dat>>