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

From: Date: Tue, 10 Oct 2000 09:05:40 +0000
Subject: PHP 4.0 Bug #6895 Updated: PHP module fails to load with LDAP -- "undefined symbol: ldap_get_lderrno"
Groups: php.dev 
Request: Send a blank email to php-dev+get-34557@lists.php.net to get a copy of this message
ID: 6895 Updated by: sniper Reported By: falcon@falcons-nest.net Status: Closed Bug Type: Apache related Assigned To: Comments: User reported problem solved using PHP 4.0.2 --Jani Previous Comments: --------------------------------------------------------------------------- [2000-09-29 09:06:07] sniper@php.net Are you really using php4.0RC2 ? The support for openldap 2.0.x was added in php4.0.2..so please upgrade first. --Jani --------------------------------------------------------------------------- [2000-09-26 23:19:17] falcon@falcons-nest.net 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) --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=6895

« previous php.dev (#34557) next »