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

Re: (ITS#4508) OpenLDAP 2.3.20 has problems when integrated with Apache 2.0.55



murthys@us.ibm.com wrote:
> As suggsetde by  you, I ran the config, gmake and install  without 
> problems with 2.3.21.  I could also build Apache using that OpenLDAP 
> 2.3.21 But
>
> When I execute the command 
> root@svabqweb002 $    /usr/apache-2.0.55/bin/apachectl  start
>
> I get the following error:
>
> Syntax error on line 239 of /usr/apache-2.0.55/conf/httpd.conf:
> Cannot load /usr/apache-2.0.55/modules/mod_ldap.so into server: rtld: 
> 0712-001 Symbol ldap_unbind_s was referen
> ced\n      from module /usr/apache-2.0.55/modules/mod_ldap.so(), but a 
> runtime definition\n      of the symbol 
> was not found.\nrtld: 0712-001 Symbol ldap_simple_bind_s was referenced\n  
>    from module /usr/apache-2.0.55/m
> odules/mod_ldap.so(), but a runtime definition\n      of the symbol was 
> not found.\nrtld: 0712-001 Symbol ldap_
> init was referenced\n      from module 
> /usr/apache-2.0.55/modules/mod_ldap.so(), but a runtime definition\n 
>   of the symbol was not found.\nrtld: 0712-001 Symbol ldap_set_option was 
> referenced\n      from module /usr/ap
> ache-2.0.55/modules/mod_ldap.so(), but a runtime definition\n      of the 
> symbol was not found.\nrtld: 0712-001
>  Symbol ldap_search_ext_s was referenced\n      from module 
> /usr/apache-2.0.55/modules/mod_ldap.so(), but a run
> time definition\n      of the symbol was not found.\nrtld: 0712-001 Symbol 
> ldap_first_entry was referenced\n 
>    from module /usr/apache-2.0.55/modules/mod_ldap.so(), but a runtime 
> definition\n      of the symbol was not 
> found.\nrtld: 0712-001 Symbol ldap_get_dn was referenced\n      from 
> module /usr/apache-2.0.55/modules/mod_ldap
> .so(), but a runtime definition\n      of the symbol was not 
> found.\n\t0509-021 Additional errors occurred but 
> are not reported.
>
>
> The 239  line in http.conf file  contains the following text:
>
> root@svabqweb002 $ cat -n /usr/apache-2.0.55/conf/httpd.conf | head -239 | 
>  tail -1
>    239  LoadModule ldap_module modules/mod_ldap.so
> root@svabqweb002 $
>
> root@svabqweb002 $ ls -l  /usr/apache-2.0.55/modules/mod_ldap.so
> -rwxr-xr-x   1 root     system       290289 Apr 28 13:00 
> /usr/apache-2.0.55/modules/mod_ldap.so*
> root@svabqweb002 $
>
> I have checked  for the symbols and they all are present  (for example):
>
> root@svabqweb002 $ strings /usr/apache-2.0.55/modules/mod_ldap.so | grep 
> ldap_simple_bind_s
> ldap_simple_bind_s
> ldap_simple_bind_s
> .ldap_simple_bind_s
> root@svabqweb002 $  strings /usr/apache-2.0.55/modules/mod_ldap.so | grep 
> ldap_get_dn
> ldap_get_dn
> ldap_get_dn
> .ldap_get_dn
> root@svabqweb002 $
>
> I know for sure that those messages are bogus messages
>
>   
"strings" is not the correct command for this type of diagnosis. You 
need to use "dump" and look at the import tables.

At any rate, since it appears that OpenLDAP builds correctly, it appears 
this is a problem with how your Apache mod_ldap.so module was linked. 
That's not an OpenLDAP concern; this ITS will be closed.

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