Bug #11873: Apache make error with module php4 and ldap
| From: | brethes at imerir dot com | Date: | Wed, 04 Jul 2001 11:01:10 +0000 |
| Subject: | Bug #11873: Apache make error with module php4 and ldap | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-58863@lists.php.net to get a copy of this message | ||
From: brethes@imerir.com
Operating system: Solaris 2.8
PHP version: 4.0.6
PHP Bug Type: Compile Problem
Bug description: Apache make error with module php4 and ldap
make
...
gcc -DSOLARIS2=280 -I/usr/local/php-4.0.6 -I/usr/local/php-4.0.6/main -I/usr/local/php-4.0.6/main
-I/usr/local/php-4.0.6/Zend -I/usr/local/php-4.0.6/Zend -I/usr/local/php-4.0.6/TSRM
-I/usr/local/php-4.0.6/TSRM -I/usr/local/php-4.0.6 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED
./apaci \
-o httpd buildmark.o modules.o modules/standard/libstandard.a modules/php4/libphp4.a
main/libmain.a ./os/unix/libos.a ap/libap.a lib/expat-lite/libexpat.a -R/usr/ucblib
-R/usr/bin/../lib/gcc-lib/sparc-sun-solaris2.8/3.0 -L/usr/ucblib
-L/usr/bin/../lib/gcc-lib/sparc-sun-solaris2.8/3.0 -Lmodules/php4 -L../modules/php4
-L../../modules/php4 -lmodphp4 -lpam -ldl -lldap -lcrypt -lresolv -lresolv -lm -ldl -lnsl -lsocket
-lsocket -lgcc -lsocket -lnsl
Undefined first referenced
symbol in file
ldap_parse_reference modules/php4/libphp4.a(ldap.o)
ld: fatal: Symbol referencing errors. No output written to httpd
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `target_static'
Current working directory /usr/local/apache_1.3.20/src
*** Error code 1
make: Fatal error: Command failed for target `build-std'
Current working directory /usr/local/apache_1.3.20
*** Error code 1
make: Fatal error: Command failed for target `build'
--
Edit Bug report at: http://bugs.php.net/?id=11873&edit=1