ID:               43427
 Updated by:       [EMAIL PROTECTED]
 Reported By:      srfrogster at gmail dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: Solaris 10
 PHP Version:      5.2.5
 New Comment:

Did you try without loading PHP? Or was that Apache+ldap thing without
it?


Previous Comments:
------------------------------------------------------------------------

[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

Reply via email to