#3174 [Opn->]: compile failes wen adding ldap functionality with dir

From: Date: Tue, 01 Oct 2002 20:44:16 +0000
Subject: #3174 [Opn->]: compile failes wen adding ldap functionality with dir
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-21154@lists.php.net to get a copy of this message
ID: 3174 Updated by: hholzgra@php.net Reported By: liedekef@pandora.be -Status: Open +Status: Won\'t fix Bug Type: LDAP related Operating System: solaris 2.6 PHP Version: 3.0.13 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2000-01-11 08:15:46] liedekef@pandora.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 ------------------------------------------------------------------------ [2000-01-11 06:21:24] liedekef@pandora.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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=3174&edit=1

« previous php.bugs (#21154) next »