#22421 [NEW]: Problems compiling PHP with LDAP

From: Date: Tue, 25 Feb 2003 21:58:23 +0000
Subject: #22421 [NEW]: Problems compiling PHP with LDAP
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-34259@lists.php.net to get a copy of this message
From: gustavo at radiumsystems dot com dot br Operating system: Linux Conectriva 8.0 PHP version: 4.2.3 PHP Bug Type: Unknown/Other Function Bug description: Problems compiling PHP with LDAP 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 bug report at http://bugs.php.net/?id=22421&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22421&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22421&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22421&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22421&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22421&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22421&r=support Expected behavior: http://bugs.php.net/fix.php?id=22421&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22421&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22421&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22421&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22421&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22421&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22421&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22421&r=gnused

« previous php.bugs (#34259) next »