#43427 [Opn->Fbk]: PHP 5.2.3 don't compile with --with-ldap option
| From: | jani@php.net | Date: | Wed, 28 Nov 2007 12:46:27 +0000 |
| Subject: | #43427 [Opn->Fbk]: PHP 5.2.3 don't compile with --with-ldap option | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-120175@lists.php.net to get a copy of this message | ||
ID: 43427
Updated by: jani@php.net
Reported By: srfrogster at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: Solaris 10
-PHP Version: 5.2.5
+PHP Version: 5.2.3
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows (zip):
http://snaps.php.net/win32/php5.2-win32-latest.zip
For Windows (installer):
http://snaps.php.net/win32/php5.2-win32-installer-latest.msi
Previous Comments:
------------------------------------------------------------------------
[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