php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #47776 -without-ldap-sasl option is ignored
Submitted: 2009-03-25 16:05 UTC Modified: 2009-04-02 20:15 UTC
From: tprohaska2 at honeywell dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.2.9 OS: AIX 5.3
Private report: No CVE-ID: None
 [2009-03-25 16:05 UTC] 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
...
...
...

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-03-31 07:40 UTC] jani@php.net
Your ldap lib is compiled with sasl, hence you're REQUIRED to use 
this. (no, this is not a bug)
 [2009-04-02 20:15 UTC] tprohaska2 at honeywell dot com
Then the option --without-ldap-sasl is bogus.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 10:01:29 2024 UTC