#22421 [Opn->Bgs]: Problems compiling PHP with LDAP
| From: | sniper@php.net | Date: | Wed, 26 Feb 2003 07:01:26 +0000 |
| Subject: | #22421 [Opn->Bgs]: Problems compiling PHP with LDAP | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-34285@lists.php.net to get a copy of this message | ||
ID: 22421
Updated by: sniper@php.net
Reported By: gustavo at radiumsystems dot com dot br
-Status: Open
+Status: Bogus
-Bug Type: Unknown/Other Function
+Bug Type: LDAP related
Operating System: Linux Conectriva 8.0
PHP Version: 4.2.3
New Comment:
You're supposed to search the bug-db BEFORE you submit new reports:
http://www.phpbuilder.com/mail/php-install/2001032/0047.php
Previous Comments:
------------------------------------------------------------------------
[2003-02-25 15:58:23] gustavo at radiumsystems dot com dot br
I've compiled PHP like this:
#! /bin/sh
#
# Created by configure
'./configure' \
'--enable-track-vars' \
'--with-mhash=../mhash-0.8.17' \
'--with-mcrypt' \
'--enable-dbase' \
'--with-gdbm' \
'--enable-dba=shared' \
'--enable-sockets' \
'--with-dba' \
'--with-pgsql' \
'--with-apxs=/opt/apache/bin/apxs' \
'--with-png-dir' \
'--with-jpeg-dir' \
'--with-imap=../imap-2002b' \
'--with-java=/usr/local/jdk' \
'--with-ldap=../openldap-2.0.25' \
"$@"
All occurs right when I type make and make install commands.
But when I tried to start apache, this message appers:
[root@incor php-4.2.3]# /opt/apache/bin/apachectl start
Syntax error on line 205 of /opt/apache/conf/httpd.conf:
Cannot load /opt/apache/libexec/libphp4.so into server:
/opt/apache/libexec/libphp4.so: undefined symbol: ldap_value_free
/opt/apache/bin/apachectl start: httpd could not be started
I've checked the libphp4.so and it returns:
[root@incor php-4.2.3]# ldd /opt/apache/libexec/libphp4.so
libdl.so.2 => /lib/libdl.so.2 (0x40167000)
libimap.so.4 => /usr/lib/libimap.so.4 (0x4016b000)
libpq.so.2 => /usr/lib/libpq.so.2 (0x40228000)
libmhash.so.2 => /usr/lib/libmhash.so.2 (0x40239000)
libmcrypt.so.4 => /usr/lib/libmcrypt.so.4 (0x4025c000)
libltdl.so.0 => /usr/lib/libltdl.so.0 (0x40262000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x40266000)
libresolv.so.2 => /lib/libresolv.so.2 (0x40294000)
libm.so.6 => /lib/libm.so.6 (0x402a7000)
libnsl.so.1 => /lib/libnsl.so.1 (0x402ca000)
libc.so.6 => /lib/libc.so.6 (0x402e1000)
libpam.so.0 => /lib/libpam.so.0 (0x40408000)
libgssapi_krb5.so.2 => /usr/lib/krb5/libgssapi_krb5.so.2
(0x40410000)
libkrb5.so.3 => /usr/lib/krb5/libkrb5.so.3 (0x40426000)
libcrypto.so.0.9.6 => /usr/lib/libcrypto.so.0.9.6 (0x40492000)
libcom_err.so.3 => /usr/lib/krb5/libcom_err.so.3 (0x4054b000)
libssl.so.0.9.6 => /usr/lib/libssl.so.0.9.6 (0x4054e000)
libltdl.so.3 => /usr/lib/libltdl.so.3 (0x4057c000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
libk5crypto.so.3 => /usr/lib/krb5/libk5crypto.so.3
(0x40583000)
As you can see the result, it doesn't returned anythig about Ldap
libraries, so it probably explains Apache error when I try to start
it.
Does anyone know something about this problem?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22421&edit=1