https://issues.apache.org/bugzilla/show_bug.cgi?id=44639
--- Comment #16 from Dave <[EMAIL PROTECTED]> 2008-03-21 13:46:39 PST --- (In reply to comment #15) > Concerning differences to httpd 1.3: 2.2 uses apr helper libraries, which > encapsulate platform specific implementation details of several general > purpose > APIs. On of those libs is libaprutil-1.so, which has dependencies against > ldap. > It could be, that your httpd 2.2 got compiled against a pre existing ldap > enabled libaprutil-1.so? > > You will see from the pmap, where the apr libs came from, and if something > loaded a wrong version 4 ldap lib. If so, you can check via ldd, if the > dependency comes from httpd (unlikely because of your configure flag) or from > some other of the libs included in the pmap. > Hi, We compile/build libapprutil-1.so as part of building httpd, so a pre existing ldap enabled libaprutil-1.so may not be the case. Anyway, I ran a couple of tests and here are the results: Test 1: I rebuilt httpd with "--with-ldap" and "--enable-ldap" in configure (although the whole issue is not from mod_ldap or mod_auth_ldap, no ldap directives in httpd.conf) Result: It dies at beginning. A symbol ldapssl_client_init is not found in libaprutil-1.so.0. ----- from httpd-errors file------------ [Fri Mar 21 10:55:10 2008] [info] Init: Seeding PRNG with 0 bytes of entropy [Fri Mar 21 10:55:10 2008] [info] Init: Generating temporary RSA private keys (512/1024 bits) [Fri Mar 21 10:55:10 2008] [info] Init: Generating temporary DH parameters (512/1024 bits) [Fri Mar 21 10:55:10 2008] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Fri Mar 21 10:55:10 2008] [info] Init: Initializing (virtual) servers for SSL [Fri Mar 21 10:55:10 2008] [info] Server: Apache/2.2.3, Interface: mod_ssl/2.2.3, Library: OpenSSL/0.9.8d [Fri Mar 21 10:55:10 2008] [info] Init: Seeding PRNG with 0 bytes of entropy [Fri Mar 21 10:55:10 2008] [info] Init: Generating temporary RSA private keys (512/1024 bits) [Fri Mar 21 10:55:10 2008] [info] Init: Generating temporary DH parameters (512/1024 bits) [Fri Mar 21 10:55:10 2008] [info] Init: Initializing (virtual) servers for SSL [Fri Mar 21 10:55:10 2008] [info] Server: Apache/2.2.3, Interface: mod_ssl/2.2.3, Library: OpenSSL/0.9.8d [Fri Mar 21 10:55:10 2008] [info] APR LDAP: Built with Sun Microsystems Inc. LDAP SDK ld.so.1: httpd: fatal: relocation error: file /opt/Apache/web/httpd/bin/libaprutil-1.so.0: symbol ldapssl_client_init: referenced symbol not found Test 2 - pmap the core file The results indicate the following two ldap related shared libs. /app/local/padl/lib/libldap.so.2.0.124 /app/local/padl/lib/nss_ldap.so.1 -----------pmap result bash-2.05$ pmap core core 'core.1' of 19809: /opt/Apache/web/httpd/bin/httpd -f /opt/Apache/web/httpd/ 00010000 3600K r-x-- /opt/Apache/web/httpd/bin/httpd 003A2000 168K rwx-- /opt/Apache/web/httpd/bin/httpd 003CC000 1688K rwx-- [ heap ] FEAE0000 32K r-x-- /app/local/lib/libgcc_s.so.1 FEC34000 8K rwx-- /app/local/ssl/lib/libcrypto.so.0.9.7 FEC72000 16K rwx-- /app/local/padl/lib/libsasl2.so.2.0.18 FEC80000 24K r-x-- /usr/lib/libgen.so.1 FECEE000 16K rwx-- /usr/lib/libresolv.so.2 FED00000 768K r-x-- /app/local/padl/lib/libdb-4.2.so FEE22000 8K rwx-- /app/local/ssl/lib/libssl.so.0.9.7 FEE30000 8K rwx-- FEE5A000 8K rwx-- /app/local/padl/lib/liblber.so.2.0.124 FEE60000 192K r-x-- /app/local/padl/lib/libldap.so.2.0.124 FEE9E000 24K rwx-- /app/local/padl/lib/libldap.so.2.0.124 FEEB0000 56K r-x-- /app/local/padl/lib/nss_ldap.so.1 FEECC000 8K rwx-- /app/local/padl/lib/nss_ldap.so.1 FEECE000 40K rwx-- /app/local/padl/lib/nss_ldap.so.1 FEEE0000 24K r-x-- /usr/lib/nss_files.so.1 FEEF6000 8K rwx-- /usr/lib/nss_files.so.1 FEF00000 16K rw--- : FF1A6000 8K rwx-- /usr/lib/libpthread.so.1 FF1B0000 40K r-x-- /usr/lib/libsocket.so.1 FF1E6000 8K rwx-- /usr/lib/librt.so.1 FF202000 8K rwx-- /usr/lib/libsendfile.so.1 FF210000 288K r-x-- /opt/Apache/web/httpd/bin/libapr-1.so.0 FF2BE000 16K rwx-- /opt/Apache/web/httpd/bin/libexpat.so.0 FF2FA000 16K rwx-- /opt/Apache/web/httpd/bin/libapriconv.so.0 FF310000 176K r-x-- /opt/Apache/web/httpd/bin/libaprutil-1.so.0 FF396000 8K rwx-- /usr/lib/libm.so.1 FF3A0000 8K r-x-- /usr/platform/sun4u-us3/lib/libc_psr.so.1 FF3F0000 8K rwx-- /usr/lib/ld.so.1 FF3FA000 8K rwx-- /usr/lib/libdl.so.1 FFBF8000 32K rwx-- [ stack ] total 11616K -------------------------------------- Still doesn't have much clue on this. Do Apache 1.3 and Apache2.x might link against different ldap or nss related shared libs? thanks, dave -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
