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

Re: Symbol problem with 2.4.13



William Jojo wrote:
AIX 5.3, OpenLDAP 2.4.13, BDB 4.6.21.3

Previously I emailed the list about symlinking libldap.so to libldap_r.so. For OpenLDAP 2.4.11 this worked perfectly. I have built 2.4.13 with the exact same options and now I get the following error from ldapsearch after symlinking:

Could not load program ldapsearch:
rtld: 0712-001 Symbol ldap_derefresponse_free was referenced
       from module ldapsearch(), but a runtime definition
             of the symbol was not found.
rtld: 0712-001 Symbol ldap_parse_derefresponse_control was referenced
       from module ldapsearch(), but a runtime definition
             of the symbol was not found.
rtld: 0712-001 Symbol ldap_create_deref_control_value was referenced
       from module ldapsearch(), but a runtime definition
             of the symbol was not found.


Is this a problem with lazy runtime resolution or did something library-wise change in this version?

The deref control was added to the library, but apparently a mistake was made and it was only added to libldap's Makefile.in. You need to add deref.lo to the libldap_r/Makefile.in to fix this.


I've added this to CVS HEAD just now.

--
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/