[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#4508) OpenLDAP 2.3.20 has problems when integrated with Apache 2.0.55
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
Please note that the correct library links are provided in the /usr/lib
location on my machine:
root@svabqweb002 $ pwd
/usr/openldap.2.3.21-bs_gcc345/lib
root@svabqweb002 $ ls -lrt
total 6824
-rw-r--r-- 1 root system 799 Apr 28 12:03 liblber.la
lrwxrwxrwx 1 root system 13 Apr 28 12:03 liblber.a@ ->
liblber-2.3.a
-rw-r--r-- 1 root system 295105 Apr 28 12:03 liblber-2.3.a
-rw-r--r-- 1 root system 864 Apr 28 12:03 libldap.la
lrwxrwxrwx 1 root system 13 Apr 28 12:03 libldap.a@ ->
libldap-2.3.a
-rw-r--r-- 1 root system 1380120 Apr 28 12:03 libldap-2.3.a
-rw-r--r-- 1 root system 874 Apr 28 12:03 libldap_r.la
lrwxrwxrwx 1 root system 15 Apr 28 12:03 libldap_r.a@ ->
libldap_r-2.3.a
-rw-r--r-- 1 root system 1799102 Apr 28 12:03 libldap_r-2.3.a
root@svabqweb002 $ for i in *
=>do
=>/bin/ls -l /usr/lib/$i
=>done
lrwxrwxrwx 1 root system 48 Apr 28 12:26
/usr/lib/liblber-2.3.a -> /usr/openldap.2.3.21-bs_gcc345/lib/liblber-2.3.a
lrwxrwxrwx 1 root system 48 Apr 28 12:26
/usr/lib/liblber.a -> /usr/openldap.2.3.21-bs_gcc345/lib/liblber-2.3.a
lrwxrwxrwx 1 root system 45 Apr 28 12:26
/usr/lib/liblber.la -> /usr/openldap.2.3.21-bs_gcc345/lib/liblber.la
lrwxrwxrwx 1 root system 48 Apr 28 12:26
/usr/lib/libldap-2.3.a -> /usr/openldap.2.3.21-bs_gcc345/lib/libldap-2.3.a
lrwxrwxrwx 1 root system 48 Apr 28 12:26
/usr/lib/libldap.a -> /usr/openldap.2.3.21-bs_gcc345/lib/libldap-2.3.a
lrwxrwxrwx 1 root system 45 Apr 28 12:26
/usr/lib/libldap.la -> /usr/openldap.2.3.21-bs_gcc345/lib/libldap.la
lrwxrwxrwx 1 root system 50 Apr 28 12:26
/usr/lib/libldap_r-2.3.a ->
/usr/openldap.2.3.21-bs_gcc345/lib/libldap_r-2.3.a
lrwxrwxrwx 1 root system 50 Apr 28 12:26
/usr/lib/libldap_r.a -> /usr/openldap.2.3.21-bs_gcc345/lib/libldap_r-2.3.a
lrwxrwxrwx 1 root system 47 Apr 28 12:26
/usr/lib/libldap_r.la -> /usr/openldap.2.3.21-bs_gcc345/lib/libldap_r.la
root@svabqweb002 $
As I have stated before, things work fine when I build it OpenLDAP
2.2.23 . The reason why I can't go with that version is because of the
CERT issue at that level.
Sri