[PHP-DEV] Bug #11873 Updated: Apache make error with module php4 and ldap From: alindeman <email protected>
Date: 08/10/01

ID: 11873
Updated by: alindeman
Reported By: brethes <email protected>
Old Status: Feedback
Status: Closed
Bug Type: Compile Failure
Operating System: Solaris 2.8
PHP Version: 4.0.6
New Comment:

no feedback

Previous Comments:
------------------------------------------------------------------------

[2001-07-09 17:06:30] venaas <email protected>

Which LDAP library are you using? Looks like your LDAP
header files define LDAP_API_VERSION > 2000 or that
HAVE_NSLDAP is defined. The library should then contain
ldap_parse_reference. Maybe you're simply linking with
the wrong LDAP library. Could there be two different libraries installed? Or multiple header files (ldap.h, lber.h). Try to look for LDAP_API_VERSION in ldap.h and
see if HAVE_NSLDAP is set in main/php_config.h. If you
can't find any of those, this shouldn't happen normally.

Well, that's all I can think of at the moment

------------------------------------------------------------------------

[2001-07-04 07:01:09] brethes <email protected>

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 this bug report at http://bugs.php.net/?id=11873&edit=1

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>