Goto DIR src/
edit Makefile by inserting at the end -lldap and -llber
into LIBS1= ........
Eivind Nordbye wrote:
I'm trying to compile Apache and PHP with LDAP support on my Solaris 8 server. Here is what I've done:
apache:
./configure
php:
./configure --with-mysql --with-apache=../apache_1.3.22 --enable-track-vars --with-ldap
make
make install
and then apache again:
./configure --prefix=/opt/apache --datadir=/home/www --activate-module=src/modules/php4/libphp4.a
make
make fails on this:
gcc -DSOLARIS2=280 -I/tmp/php-4.0.6 -I/tmp/php-4.0.6/main -I/tmp/php-4.0.6/main -I/tmp/php-4.0.6/Zend -I/tmp/php-4.0.6/Ze
nd -I/tmp/php-4.0.6/TSRM -I/tmp/php-4.0.6/TSRM -I/tmp/php-4.0.6 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED ./apaci
\
-o httpd buildmark.o modules.o modules/php4/libphp4.a modules/standard/libstandard.a main/libmain.a ./os/unix/li
bos.a ap/libap.a lib/expat-lite/libexpat.a -R/usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2 -L/usr/u
cblib -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2 -Lmodules/php4 -L../modules/php4 -L../../m....