#17199 [Fbk->Bgs]: fail compile apache + php + openldap

From: Date: Wed, 11 Sep 2002 16:06:18 +0000
Subject: #17199 [Fbk->Bgs]: fail compile apache + php + openldap
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-19085@lists.php.net to get a copy of this message
ID: 17199 Updated by: sniper@php.net Reported By: kenny@cpcnet-hk.com -Status: Feedback +Status: Bogus Bug Type: Compile Failure Operating System: solaris 8 PHP Version: 4.1.2 New Comment: Thank you for taking the time to report a problem with PHP. Unfortunately you are not using a current version of PHP -- the problem might already be fixed. Please download a new PHP version from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. Previous Comments: ------------------------------------------------------------------------ [2002-06-13 16:37:43] sniper@php.net Please try this snapshot: http://snaps.php.net/php4-latest.tar.gz ------------------------------------------------------------------------ [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

« previous php.bugs (#19085) next »