From: srfrogster at gmail dot com Operating system: Solaris 10 PHP version: 5.2.5 PHP Bug Type: Compile Failure Bug description: PHP 5.2.3 don't compile with --with-ldap option
Description: ------------ Hello phpeople, I'm having problems while compiling PHP-5.2.3 with ldap support. Here is my configure line: ./configure --prefix=/usr/local/php-5.2.3 --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-apxs2=/usr/local/apache2/bin/apxs --with-ldap=/usr --with-openssl=/usr/local/ssl --with-curl=/usr/local --with-gd=/usr/local --with-jpeg-dir=/usr/local --with-png-dir=/usr/local --with-xpm-dir=/usr/local --with-freetype-dir=/usr/local --with-ldap-sasl=/usr/local And it stops when: checking for LDAP support... yes checking for LDAP Cyrus SASL support... /usr/local checking for 3 arg ldap_set_rebind_proc... yes checking for ldap_parse_result... no checking for ldap_parse_reference... no checking for ldap_start_tls_s... no checking for sasl_version in -lldap... no configure: error: LDAP SASL check failed. Please check config.log for more information. Also, I have trying to compile php-5.2.5 with the same configure line, and it fails in the same step, showing the same output message. Checking the "config.log" file, it shows many undefined symbols, almost all of them, first referenced in libnspr4.so. And just above this list of undefined symbols, it shows: ld: warning: file /export/home/SOFTWARE/LDAP_SDK/lib//libnspr4.so: section .stabstr: malformed string table, initial or final byte ld: warning: global symbol `_GLOBAL_OFFSET_TABLE_' has non-global binding: (file /export/home/SOFTWARE/LDAP_SDK/lib//libnss3.so value=LOCL); ld: warning: file /export/home/SOFTWARE/LDAP_SDK/lib//libssl3.so: section .stabstr: malformed string table, initial or final byte ld: warning: global symbol `_GLOBAL_OFFSET_TABLE_' has non-global binding: (file /export/home/SOFTWARE/LDAP_SDK/lib//libssl3.so value=LOCL); ld: warning: file libdl.so.2: required by /export/home/SOFTWARE/LDAP_SDK/lib//libnspr4.so, not found ld: warning: file libpthread.so.0: required by /export/home/SOFTWARE/LDAP_SDK/lib//libnspr4.so, not f ound ld: warning: file libc.so.6: required by /export/home/SOFTWARE/LDAP_SDK/lib//libnspr4.so, not found I have been trying to get these libraries from outside in order to compile again php, but I haven't found them available for Solaris 10. Can you help me with this? Thanks in advance -- Edit bug report at http://bugs.php.net/?id=43427&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=43427&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=43427&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=43427&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=43427&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=43427&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=43427&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=43427&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=43427&r=needscript Try newer version: http://bugs.php.net/fix.php?id=43427&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=43427&r=support Expected behavior: http://bugs.php.net/fix.php?id=43427&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=43427&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=43427&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=43427&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43427&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=43427&r=dst IIS Stability: http://bugs.php.net/fix.php?id=43427&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=43427&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=43427&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=43427&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=43427&r=mysqlcfg