[PHP-DEV] Re: PHP 4.0 Bug #9493 Updated: compilation and make with ldap ok but problem during make with apache From: Alain Defrance (Alain.Defrance <email protected>)
Date: 03/02/01

Hello, thanks a lot for your quick reply...

>I'm quite sure there isn't any bugs in PHP regarding this.
>Anyway, try doing 'make clean' for both Apache and PHP
>before make. And did you follow the instructions given
>in INSTALL file?? ie. 'make install' for PHP before making Apache?

Yes i've done !!!!
i try also to make php4+ldap like a module and compile with apxs...
no problem with the configure, make , make install in PHP
no problem with the configure, make , make install in apache

but when i restart httpd i've the following error...

Syntax error on line 207 of /www/conf/httpd.conf:
Cannot load /www/libexec/libphp4.so into server: ld.so.1: /www/bin/httpd:
fatal:
  relocation error: file /www/libexec/libphp4.so: symbol ldap_unbind_s:
reference
d symbol not found

httpd.conf is like this :

LoadModule php4_module libexec/libphp4.so
AddModule mod_php4.c

Curiously when i compile php4 without ldap there no problem...
i've read on the web that it must append LDFLAGS=-lldap , but where ?
to you know that ?
I've really need help because there is 4 days that i work on this problem...
Regards from Paris...

>--Jani
>
>
>Previous Comments:
>---------------------------------------------------------------------------
>
>[2001-02-28 04:20:33] alain.defrance <email protected>
>compiling apache : ./configure --activate-module=src/modules/php4/libphp4.a
>is ok
>and make return
>
>ldap_dn2ufn .libs/libphp4.a(ldap.o)
>ldap_next_entry .libs/libphp4.a(ldap.o)
>ldap_get_values .libs/libphp4.a(ldap.o)
>ldap_count_entries .libs/libphp4.a(ldap.o)
>ld: fatal: Symbol referencing errors. No output written to php
>collect2: ld returned 1 exit status
>make[1]: *** [php] Error 1
>make[1]: Leaving directory `/home/op/inst/php-4.0.3pl1'
>make: *** [all-recursive] Error 1
>
>that's all thank for reply, and help
>
>---------------------------------------------------------------------------
>
>
>
>ATTENTION! Do NOT reply to this email!
>To reply, use the web interface found at http://bugs.php.net/?id=9493&edit=2

********************************
Alain Defrance
Service Informatique
Université d'Evry Val d'Essonne

A.Defrance <email protected>
01.69.47.80.69
www.univ-evry.fr
********************************

-- 
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>