|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6895 PHP module fails to load with LDAP -- "undefined symbol: ldap_get_lderrno"
Submitted: 2000-09-26 23:19 UTC Modified: 2000-10-10 05:05 UTC
From: falcon at falcons-nest dot net Assigned:
Status: Closed Package: Apache related
PHP Version: 4.0.2 OS: SuSE Linux Kernel 2.2.9
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: falcon at falcons-nest dot net
New email:
PHP Version: OS:


 [2000-09-26 23:19 UTC] falcon at falcons-nest dot net

Linux Kernel 2.2.9
Apache 1.3.12
MySQL 3.22.31
openLDAP 2.0.4
PHP 4.0RC2


When trying to start Apache with the PHP4 Module --
/usr/local/libexec/ 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/ => /usr/lib/ (0x401df000) => /lib/ (0x401e6000) => /usr/local/lib/ (0x401ea000) => /lib/ (0x4020f000) => /lib/ (0x4021f000) => /lib/ (0x40239000) => /lib/ (0x40269000) => /usr/local/lib/ (0x40270000) => /lib/ (0x4027b000)
        /lib/ => /lib/ (0x2aaaa000)


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-29 09:06 UTC]
Are you really using php4.0RC2 ?
The support for openldap 2.0.x was added in please upgrade first.

 [2000-10-10 05:05 UTC]
User reported problem solved using PHP 4.0.2

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Fri Dec 08 13:01:26 2023 UTC