ID: 9493
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: Compile Problem
Description: compilation and make with ldap ok but problem during make with apache
i've tried to compil in module in DSO
i've an another error :
Syntax error on line 207 of /www/conf/httpd.conf:
Cannot load /www/libexec/libphp4.so into server: ld.so.1: ./httpd: fatal: reloca
tion error: file /www/libexec/libphp4.so: symbol ldap_unbind_s: referenced symbo
l not found
difficult no ???
Previous Comments:
---------------------------------------------------------------------------
[2001-03-02 10:31:17] [EMAIL PROTECTED]
3. Have you tried PHP 4.0.4pl1 if it works better?
yes, now and i've the same error...
some people said we must add --lldap to LDFLAGS, but where in makefile, on command, in
php4 compilation, or in apache compilation ???
---------------------------------------------------------------------------
[2001-03-02 09:58:18] [EMAIL PROTECTED]
1. What was the configure line used to configure PHP 4?
./configure --with-apache=../apache_1.3.17 --with-ldap --enable-trach-vars
configure :ok
make :ok
make install : ok
2. Which LDAP libraries are you using? Openldap 2.x.x?
openldap-2.0.7
3. Have you tried PHP 4.0.4pl1 if it works better?
not yet...
thanks for your kind replies...
---------------------------------------------------------------------------
[2001-03-02 09:31:23] [EMAIL PROTECTED]
Please reply using the web interface NOT via email.
And answer these questions:
1. What was the configure line used to configure PHP 4?
2. Which LDAP libraries are you using? Openldap 2.x.x?
3. Have you tried PHP 4.0.4pl1 if it works better?
--Jani
---------------------------------------------------------------------------
[2001-03-01 17:22:58] [EMAIL PROTECTED]
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?
--Jani
---------------------------------------------------------------------------
[2001-02-28 04:20:33] [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
---------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view the rest of the
comments, please view the bug report online.
Full Bug description available at: http://bugs.php.net/?id=9493
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]