php.net |  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
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: 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.

Frankt

Patches

Pull Requests

History

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 libphp3.so  -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 libphp3.so ./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 libphp3.so
apxs:Break: Command failed with rc=65536
gmake: *** [libphp3.so] Error 1

 [2002-10-01 15:44 UTC] hholzgra@php.net
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-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 03:01:28 2024 UTC