Bug #17199 Updated: fail compile apache + php + openldap

From: Date: Thu, 13 Jun 2002 20:37:43 +0000
Subject: Bug #17199 Updated: fail compile apache + php + openldap
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-10389@lists.php.net to get a copy of this message
 ID:               17199
 Updated by:       sniper@php.net
 Reported By:      kenny@cpcnet-hk.com
-Status:           Open
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: solaris 8
 PHP Version:      4.1.2
 New Comment:

Please try this snapshot:

http://snaps.php.net/php4-latest.tar.gz



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

[2002-05-14 02:45:21] kenny@cpcnet-hk.com

When I complie php(4.1.2) + openldap (2.0.23)

./configure --with-apache=../apache_1.3.22 --enable-track-vars
--enable-force-cgi-redirect --with-ldap
=/opt/apache/openldap-2.0.23

make 

make install

It is fine.

But when I complie apache (1.3.22)

./configure --prefix=/usr/local/apache
--activate-module=src/modules/php4/libphp4.a

make

The following error occured:


Undefined                       first referenced
 symbol                             in file
ldap_first_reference                modules/php4/libphp4.a(ldap.o)
ldap_count_values_len               modules/php4/libphp4.a(ldap.o)
ldap_memfree                        modules/php4/libphp4.a(ldap.o)
ldap_get_dn                         modules/php4/libphp4.a(ldap.o)
.
.
.
ldap_next_entry                     modules/php4/libphp4.a(ldap.o)
ldap_get_values                     modules/php4/libphp4.a(ldap.o)
ldap_count_entries                  modules/php4/libphp4.a(ldap.o)
ld: fatal: Symbol referencing errors. No output written to httpsd
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/opt/apache/apache_1.3.22/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/opt/apache/apache_1.3.22'
make: *** [build] Error 2

Pls help to fix the problem. Thx


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


-- 
Edit this bug report at http://bugs.php.net/?id=17199&edit=1



Thread (3 messages)

« previous php.bugs (#10389) next »