PHP 4.0 Bug #6895: PHP module fails to load with LDAP -- "undefined symbol: ldap_get_lderrno"

From: Date: Wed, 27 Sep 2000 03:19:17 +0000
Subject: PHP 4.0 Bug #6895: PHP module fails to load with LDAP -- "undefined symbol: ldap_get_lderrno"
Groups: php.dev 
Request: Send a blank email to php-dev+get-33739@lists.php.net to get a copy of this message
From: falcon@falcons-nest.net Operating system: SuSE Linux Kernel 2.2.9 PHP version: 4.0.2 PHP Bug Type: Apache related Bug description: PHP module fails to load with LDAP -- "undefined symbol: ldap_get_lderrno" Environment: Linux Kernel 2.2.9 Apache 1.3.12 MySQL 3.22.31 IMAP 2000.RELEASE-CANDIDATE.7 openLDAP 2.0.4 PHP 4.0RC2 Error: When trying to start Apache with the PHP4 Module -- /usr/local/libexec/libphp4.so: undefined symbol: ldap_get_lderrno I have compiled Apache with loadable modules. IMAP is working properly, as is MySQL. Everything works if I do not compile in LDAP support. The LDAP server is functioning properly. I have seen articles stating that I must configure, build, and install openLDAP first, then configure, build, and install PHP4. I have done that, but I keep getting this error. Here are all of the libraries linked in the module: $ ldd /usr/local/libexec/libphp4.so libgdbm.so.1 => /usr/lib/libgdbm.so.1 (0x401df000) libdl.so.2 => /lib/libdl.so.2 (0x401e6000) libldap.so.2 => /usr/local/lib/libldap.so.2 (0x401ea000) libresolv.so.2 => /lib/libresolv.so.2 (0x4020f000) libm.so.6 => /lib/libm.so.6 (0x4021f000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x40239000) libnsl.so.1 => /lib/libnsl.so.1 (0x40269000) liblber.so.2 => /usr/local/lib/liblber.so.2 (0x40270000) libc.so.6 => /lib/libc.so.6 (0x4027b000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)

« previous php.dev (#33739) next »