#43427 [Fbk->Csd]: PHP 5.2.3 don't compile with --with-ldap option
ID: 43427 User updated by: srfrogster at gmail dot com Reported By: srfrogster at gmail dot com -Status: Feedback +Status: Closed Bug Type: Compile Failure Operating System: Solaris 10 PHP Version: 5.2.5 New Comment: I try php without ldap and it worked well. The issue was an ldap installation problem, but now it's solved, and php compiles and builds ok. Thanks anyway. I close the bug Previous Comments: [2007-11-29 00:59:46] [EMAIL PROTECTED] Did you try without loading PHP? Or was that Apache+ldap thing without it? [2007-11-28 16:05:24] srfrogster at gmail dot com I have trying to remove the "--with-ldap-sasl" option, but it still crashes and shows the same message. However, when I remove "--with-ldap" option, it compiles and builds correctly. I figure out it may be an issue belonging to ldap installation or something related (I use iplanet-ldap-sdk), because when I try to start the apache server with ldap compatibility, it fails and shows a message which tells that it can't find neither libc.so.6, libpthread.so.0 nor libdl.so.2. Anyway, I'm not sure at all about this, so is it possible to keep opened till I check deeply my theory? Thanks [2007-11-28 12:48:37] [EMAIL PROTECTED] You're trying to enable SASL support but using Solaris LDAP SDK? That doesn't work, this works only with OpenLDAP so get that and try again. (IIRC, you need to compile openldap with sasl support too..) ------------ [2007-11-27 15:05:53] srfrogster at gmail dot com 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 this bug report at http://bugs.php.net/?id=43427&edit=1
#43427 [Fbk->Opn]: PHP 5.2.3 don't compile with --with-ldap option
ID: 43427 User updated by: srfrogster at gmail dot com Reported By: srfrogster at gmail dot com -Status: Feedback +Status: Open Bug Type: Compile Failure Operating System: Solaris 10 PHP Version: 5.2.5 New Comment: I have trying to remove the "--with-ldap-sasl" option, but it still crashes and shows the same message. However, when I remove "--with-ldap" option, it compiles and builds correctly. I figure out it may be an issue belonging to ldap installation or something related (I use iplanet-ldap-sdk), because when I try to start the apache server with ldap compatibility, it fails and shows a message which tells that it can't find neither libc.so.6, libpthread.so.0 nor libdl.so.2. Anyway, I'm not sure at all about this, so is it possible to keep opened till I check deeply my theory? Thanks Previous Comments: [2007-11-28 12:48:37] [EMAIL PROTECTED] You're trying to enable SASL support but using Solaris LDAP SDK? That doesn't work, this works only with OpenLDAP so get that and try again. (IIRC, you need to compile openldap with sasl support too..) -------- [2007-11-27 15:05:53] srfrogster at gmail dot com 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 this bug report at http://bugs.php.net/?id=43427&edit=1
#43427 [NEW]: PHP 5.2.3 don't compile with --with-ldap option
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