php.net |  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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: falcon at falcons-nest dot net
New email:
PHP Version: OS:

 

 [2000-09-26 23:19 UTC] falcon at falcons-nest dot 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)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-29 09:06 UTC] 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-10-10 05:05 UTC] sniper@php.net
User reported problem solved using PHP 4.0.2

--Jani
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 23:01:28 2024 UTC