From:             tprohaska2 at honeywell dot com
Operating system: AIX 5.3 
PHP version:      5.2.9
PHP Bug Type:     Compile Failure
Bug description:  -without-ldap-sasl option is ignored

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 bug report at http://bugs.php.net/?id=47776&edit=1
-- 
Try a CVS snapshot (PHP 5.2):        
http://bugs.php.net/fix.php?id=47776&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):        
http://bugs.php.net/fix.php?id=47776&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):        
http://bugs.php.net/fix.php?id=47776&r=trysnapshot60
Fixed in CVS:                        
http://bugs.php.net/fix.php?id=47776&r=fixedcvs
Fixed in CVS and need be documented: 
http://bugs.php.net/fix.php?id=47776&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=47776&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=47776&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=47776&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=47776&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=47776&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=47776&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=47776&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=47776&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=47776&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=47776&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=47776&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=47776&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=47776&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=47776&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=47776&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=47776&r=mysqlcfg

Reply via email to