|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3174 compile failes wen adding ldap functionality with dir
Submitted: 2000-01-11 06:21 UTC Modified: 2002-10-01 15:44 UTC
From: liedekef at pandora dot be Assigned:
Status: Wont fix Package: LDAP related
PHP Version: 3.0.13 OS: solaris 2.6
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: liedekef at pandora dot be
New email:
PHP Version: OS:


 [2000-01-11 06:21 UTC] liedekef at pandora dot be
When I try the configure command:

./configure  --with-ldap=/usr/local/openldap --with-mysql=/opt/mysql-3.22.27 --with-apxs=/opt/apache_1.3.9/bin/apxs --with-xml --enable-track-vars --enable-magic-quotes

I can't make php. The reason seems to be that the ldap libraries are includes (-llber -lldap) before the path to the libraries is defined (-L/usr/local/openldap/lib)
Seems to be a small error in the configure script.



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-01-11 08:15 UTC] liedekef at pandora dot be
Here is the error of the make:

/opt/apache_1.3.9/bin/apxs -c -o  -I. -I.  -Wl,-R'/opt/mysql-3.22.27/lib' -Wl,-R'/usr/local/openldap/lib' ./mod_php3.c libmodphp3-so.a -L/usr/local/lib  -L/opt/mysql-3.22.27/lib -lmysqlclient -lldap -llber -L/usr/local/openldap/lib                               pcrelib/libpcre.a -lpam -lm -ldl -lsocket -lnsl  -lresolv  -Lpcrelib -lpcre
gcc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE -I/opt/apache_1.3.9/include -I. -I.  -c ./mod_php3.c
ld -G -o ./mod_php3.o libmodphp3-so.a -L/usr/local/lib -L/opt/mysql-3.22.27/lib -lmysqlclient -lldap -llber -L/usr/local/openldap/lib pcrelib/libpcre.a -lpam -lm -ldl -lsocket -lnsl -lresolv -Lpcrelib -lpcre -R/opt/mysql-3.22.27/lib -R/usr/local/openldap/lib 
ld: fatal: library -lldap: not found
ld: fatal: library -llber: not found
ld: fatal: File processing errors. No output written to
apxs:Break: Command failed with rc=65536
gmake: *** [] Error 1

 [2002-10-01 15:44 UTC]
We are sorry, but can not support PHP 3 related problems anymore.
Momentum is gathering for PHP 5, and we think supporting PHP 3 will
lead to a waste of resources which we want to put into getting PHP 5
ready. Ofcourse PHP 4 will will continue to be supported for the
forseeable future.

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Fri May 20 11:05:45 2022 UTC