From:             [EMAIL PROTECTED]
Operating system: solaris 8
PHP version:      4.1.2
PHP Bug Type:     Compile Failure
Bug description:  fail compile apache + php + openldap

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 bug report at http://bugs.php.net/?id=17199&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=17199&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=17199&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=17199&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=17199&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17199&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=17199&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=17199&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=17199&r=submittedtwice
register_globals:    http://bugs.php.net/fix.php?id=17199&r=globals

Reply via email to