From:             bkw at weisshuhn dot de
Operating system: Linux Fedora Core 2,3,4
PHP version:      4.4.1
PHP Bug Type:     Compile Failure
Bug description:  configure does not find ldap_start_tls_s

Description:
------------
Actually a regression of Bug #24025:

configure fails to find ldap_parse_result, ldap_parse_reference and
ldap_start_tls_s.

this patch fixes the problem, which was introduced in Version Version
1.26.28 of ext/ldap/config.m4:

--- php-4.4.11/ext/ldap/config.m4.ldapconf
+++ php-4.4.11/ext/ldap/config.m4
@@ -124,6 +125,8 @@ if test "$PHP_LDAP" != "no"; then

   dnl Solaris 2.8 claims to be 2004 API, but doesn't have
   dnl ldap_parse_reference() nor ldap_start_tls_s()
+  _SAVE_LDFLAGS=$LDFLAGS
+  LDFLAGS="$LDFLAGS $LDAP_SHARED_LIBADD"
   AC_CHECK_FUNCS([ldap_parse_result ldap_parse_reference
ldap_start_tls_s])
   LDFLAGS=$_SAVE_LDFLAGS


The commit that introduced the behaviour:
http://cvs.php.net/diff.php/php-src/ext/ldap/config.m4?r1=1.26.2.7&r2=1.26.2.8
The LDAP_SHARED_LIBADD was lost from LDFLAGS by the rearrangement there.


-- 
Edit bug report at http://bugs.php.net/?id=35078&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=35078&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=35078&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=35078&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=35078&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=35078&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=35078&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=35078&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=35078&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=35078&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=35078&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=35078&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=35078&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=35078&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=35078&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=35078&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=35078&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=35078&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=35078&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=35078&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=35078&r=mysqlcfg

Reply via email to