php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2129 PHP+GDBM+LDAP(OpenLDAP1.2) -> Apache does not start
Submitted: 1999-08-23 04:58 UTC Modified: 1999-09-09 02:34 UTC
From: agm19 at tid dot es Assigned:
Status: Closed Package: Performance problem
PHP Version: 3.0.12 OS: RHLinux 5.1
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: agm19 at tid dot es
New email:
PHP Version: OS:

 

 [1999-08-23 04:58 UTC] agm19 at tid dot es
Hi. I`m trying to install PHP with gdbm and ldap support.
This is the command:
/usr/share/php-3.0.12/configure \
--enable-track-vars \
--with-apxs=/usr/local/apache/sbin/apxs \
--with-config-file-path=/usr/local/apache/conf \
--with-ldap=/usr/share/ldap \
--with-gdbm=/usr/share/gdbm-1.8.0

It compiles ok, but after trying to restart Apache 1.3.6 with:
/usr/local/apache/sbin/apachectl start

it sends an error message:
Syntax error on line 237 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp3.so into server: /usr/local/apache/libexec/libphp3.so: undefined symbol: ldap_value_free
/usr/local/apache/sbin/apachectl start: httpd could not be started

where line 237 in httpd.conf file is:
LoadModule php3_module        libexec/libphp3.so

Can you help me?
Thanks in advance.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-08-28 06:15 UTC] sas at cvs dot php dot net
Please post the output of 

$ ldd /usr/local/apache/libexec/libphp3.so
 [1999-08-29 20:34 UTC] agm19 at tid dot es
This is the output:

$ ldd /usr/local/apache/libexec/libphp3.so

	libgd.so.1 => /usr/lib/libgd.so.1 (0x40093000)
	libgdbm.so.2 => /usr/lib/libgdbm.so.2 (0x400c9000)
	libpam.so.0 => /lib/libpam.so.0 (0x400cf000)
	libm.so.6 => /lib/libm.so.6 (0x400d8000)
	libdl.so.2 => /lib/libdl.so.2 (0x400f4000)
	libcrypt.so.1 => /lib/libcrypt.so.1 (0x400f7000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x40124000)
	libresolv.so.2 => /lib/libresolv.so.2 (0x40139000)
	libc.so.6 => /lib/libc.so.6 (0x40148000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)

Hope it can serve. :)
Thanks again.

 [1999-08-30 19:06 UTC] agm19 at tid dot es
Hi again.

I've being testing versions 3.0.12 and 4.0b2 with LDAP (from OpenLDAP, as commented)
and for both versions I could log the compilation messages.
But, as the whole packet is big enough to be post here, i've put it onto a "tar.gz" archive and stored
in a webpage. The URL to download the file with the logs for both versions is:

  http://personal.redestb.es/agma/PHP3.tar.gz

I guess it can be much more helpfull.

Thanks again.

Arturo

 [1999-09-09 02:34 UTC] rasmus at cvs dot php dot net
The following set of flags work fine for me on RH6:

Apache-1.3.9: ./configure --with-layout=RedHat --enable-module=so; make; make install
OpenLdap-1.2: ./configure; make; make install
PHP: ./configure --with-apxs=/usr/sbin/apxs --with-ldap; make; make install

Everything compiled and ran fine and gdbm support is working fine being the default.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Apr 10 18:01:29 2025 UTC