RE: PHP 4.0 Bug #6895 Updated: PHP module fails to load with LDAP -- "undefined symbol: ldap_get_lderrno"
| From: | Steven Alexson | Date: | Fri, 29 Sep 2000 02:28:02 +0000 |
| Subject: | RE: PHP 4.0 Bug #6895 Updated: PHP module fails to load with LDAP -- "undefined symbol: ldap_get_lderrno" | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-34542@lists.php.net to get a copy of this message | ||
4.0.2 works properly
> -----Original Message-----
> From: Bug Database [mailto:php-dev@lists.php.net]
> Sent: Friday, September 29, 2000 9:06 AM
> To: falcon@falcons-nest.net
> Subject: PHP 4.0 Bug #6895 Updated: PHP module fails to load with LDAP
> -- "undefined symbol: ldap_get_lderrno"
>
>
> ID: 6895
> Updated by: sniper
> Reported By: falcon@falcons-nest.net
> Status: Feedback
> Bug Type: Apache related
> Assigned To:
> Comments:
>
> Are you really using php4.0RC2 ?
> The support for openldap 2.0.x was added in php4.0.2..so please
> upgrade first.
>
> --Jani
>
> Previous Comments:
> ------------------------------------------------------------------
> ---------
>
> [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
>