PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : apache 2.0.54 mit mod_auth_ldap



leo_80
14.04.13, 11:22
Ich wollte meinen Apache um mod_auth_ldap erweitern,

Leider habe ich zwei openssl versionen auf den System
/usr liegt irgendeine 1.0.0
/usr/ssl-0.9.7m liegt 0.9.7m

Ich habe das Apache ./configure um --enable-auth-ldap und --with-ldap erweitert

Beim make des Apache hat sich beschwert das libldap.so an libssl.so.1.0.0 gebunden ist und das es einen Konflickt mit mit libssl.so.0.9.7 gibt.

Dann habe ich den link von /usr/lib/libssl.so nach /usr/ssl-0.9.7m/lib/libssl.so.0.9.7 geändert

openldap neukompiliert mit CPPFLAGS=-I/usr/ssl-0.9.7m/include LDFLAGS=-L/usr/ssl-0.9.7m

nun hat das make von apache sich beschwert, dass libldap.so an libcrypto.so.1.0.0 gebunden ist und das es einen Konflickt mit mit libcrypto.so.0.9.7 gibt

Den syslink auch für libcrypto.so > libcrypto.so.0.9.7 gesetzt openldap neu kompiliert und apache sagt nun beim make:


modules/experimental/.libs/mod_auth_ldap.a(mod_auth_ldap.o): In function `mod_auth_ldap_check_user_id':
mod_auth_ldap.c:(.text+0x511): undefined reference to `util_ldap_connection_find'
mod_auth_ldap.c:(.text+0x623): undefined reference to `util_ldap_connection_close'
mod_auth_ldap.c:(.text+0x683): undefined reference to `util_ldap_connection_close'
mod_auth_ldap.c:(.text+0x71e): undefined reference to `util_ldap_cache_checkuserid'
mod_auth_ldap.c:(.text+0x72d): undefined reference to `util_ldap_connection_close'
modules/experimental/.libs/mod_auth_ldap.a(mod_auth_ldap.o): In function `mod_auth_ldap_auth_checker':
mod_auth_ldap.c:(.text+0xb29): undefined reference to `util_ldap_connection_find'
mod_auth_ldap.c:(.text+0xe69): undefined reference to `util_ldap_cache_compare'
mod_auth_ldap.c:(.text+0xf71): undefined reference to `util_ldap_cache_compare'
mod_auth_ldap.c:(.text+0x10f8): undefined reference to `util_ldap_cache_comparedn'
mod_auth_ldap.c:(.text+0x13ba): undefined reference to `util_ldap_cache_compare'
mod_auth_ldap.c:(.text+0x15ac): undefined reference to `util_ldap_cache_compare'
collect2: ld returned 1 exit status
make[1]: *** [httpd] Error 1
make[1]: Leaving directory `/usr/src/httpd-2.0.54'
make: *** [all-recursive] Error 1
root@linux:/usr/src/httpd-2.0.54#

Warum ich apache nicht mit einer neuere Openssl Version kompiliere?
-Das geht nicht bei dieser apache Version

Warum ich nicht eine neuere Apache version nehme?
-Das kann ich auch nicht machen, den ich brauche ihn als reverse proxy für Exchange

Felipe