ID:               47776
 User updated by:  tprohaska2 at honeywell dot com
 Reported By:      tprohaska2 at honeywell dot com
 Status:           Bogus
 Bug Type:         Compile Failure
 Operating System: AIX 5.3
 PHP Version:      5.2.9
 New Comment:

Then the option --without-ldap-sasl is bogus.


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

[2009-03-31 07:40:32] j...@php.net

Your ldap lib is compiled with sasl, hence you're REQUIRED to use 
this. (no, this is not a bug)

------------------------------------------------------------------------

[2009-03-25 16:05:37] tprohaska2 at honeywell dot com

Description:
------------
configure fails while looking for sasl symbols
--without-ldap-sasl as chosen 


Reproduce code:
---------------
./configure \
--with-ldap=/webapp/DSRSK/lib/ldapcsdk \
--with-oci8=instantclient,/webapp/instantclient10_1 \
--with-apxs2=/webapp/apache/2.2.11/bin/apxs \
--with-config-file-path=/webapp/apache/2.2.11/conf/httpd.conf \
--with-zlib-dir=/webapp/local/lib \
--without-ldap-sasl \
--enable-shared  \
--disable-static \
--without-zlib-dir \
--without-bz2 \
--without-sqlite \


Expected result:
----------------
expect it not to fail - expect it to not look for sasl related symbols

Actual result:
--------------
configure:53481: checking for ldap_parse_result
configure:53509: gcc -o conftest -I/usr/include -DHAVE_LONG_LONG 
-I/webapp/DSRS
K/lib/ldapcsdk/include -L/usr/lib  -L/opt/freeware/lib
-L/opt/freeware/lib -L/we
bapp/DSRSK/lib/ldapcsdk/lib -L/webapp/DSRSK/lib/ldapcsdk/lib conftest.c
-lssl3 -
lprldap50 -lldap50 -lssldap50 -llber50 -lplds4 -lplc4 -lnspr4 -lm 
-lxml2 -licon
v -lm -lxml2 -liconv -lm  1>&5
ld: 0711-317 ERROR: Undefined symbol: .pthread_getspecific
ld: 0711-317 ERROR: Undefined symbol: .pthread_setspecific
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_destroy
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_init
ld: 0711-317 ERROR: Undefined symbol: .sasl_setprop
ld: 0711-317 ERROR: Undefined symbol: .sasl_client_start
ld: 0711-317 ERROR: Undefined symbol: .sasl_client_step
ld: 0711-317 ERROR: Undefined symbol: .sasl_getprop
ld: 0711-317 ERROR: Undefined symbol: .sasl_client_new
ld: 0711-317 ERROR: Undefined symbol: .sasl_dispose
ld: 0711-317 ERROR: Undefined symbol: .sasl_encode
ld: 0711-317 ERROR: Undefined symbol: .sasl_decode
ld: 0711-317 ERROR: Undefined symbol: .sasl_set_alloc
ld: 0711-317 ERROR: Undefined symbol: .sasl_client_init
ld: 0711-317 ERROR: Undefined symbol: .pthread_key_create
ld: 0711-317 ERROR: Undefined symbol: pthread_mutex_lock
...
...
...


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=47776&edit=1

Reply via email to