ID:               22421
 User updated by:  gustavo at radiumsystems dot com dot br
 Reported By:      gustavo at radiumsystems dot com dot br
-Status:           Bogus
+Status:           Open
 Bug Type:         LDAP related
-Operating System: Linux Conectriva 8.0
+Operating System: Linux Conectiva 8.0
 PHP Version:      4.2.3
 New Comment:

The main problem is to know wich file I have to put the directory way
in ld.so.conf.

The libraries libldap.so and libldap_r.so have their directory ways
listed in ld.so.conf. I run ldconfig command too.

Sorry about it but I didn�t understand your last comment. Can you
explain me with more details.


Previous Comments:
------------------------------------------------------------------------

[2003-02-26 01:02:20] [EMAIL PROTECTED]

(and you're supposed to pass the --with-ldap the INSTALL prefix of the
ldap libs..)


------------------------------------------------------------------------

[2003-02-26 01:01:25] [EMAIL PROTECTED]

You're supposed to search the bug-db BEFORE you submit new reports:

http://www.phpbuilder.com/mail/php-install/2001032/0047.php


------------------------------------------------------------------------

[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:

[EMAIL PROTECTED] 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:
[EMAIL PROTECTED] 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

Reply via email to