#12830 [Bgs]: undefined symbol: sasl_set_alloc

From: Date: Sat, 03 Aug 2002 14:17:05 +0000
Subject: #12830 [Bgs]: undefined symbol: sasl_set_alloc
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-15918@lists.php.net to get a copy of this message
ID: 12830 Updated by: venaas@php.net Reported By: owanse@hotmail.com Status: Bogus Bug Type: LDAP related Operating System: linux 2.4 PHP Version: 4.0.6 New Comment: Since the LDAP library is compiled with SASL, PHP must be linked with a SASL library. Currently that must be done manually, if you don't know how, the easiest solution is to build the LDAP library without SASL. Previous Comments: ------------------------------------------------------------------------ [2002-05-25 08:59:18] derick@php.net Thank you for taking the time to report a problem with PHP. Unfortunately your version of PHP is too old -- the problem might already be fixed. Please download a new PHP version from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. ------------------------------------------------------------------------ [2001-08-26 12:11:00] owanse@hotmail.com First: i used OpenLDAP version 2.0.11 while compiling php4 Second: i configured the library with: ./configure --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc \ --localstatedir=/var/run --libexecdir=/usr/lib/openldap \ --mandir=%{_mandir} --enable-wrappers \ --enable-aclgroups --enable-spasswd --enable-dynamic \ --enable-shared --with-tls --with-cyrus-sasl --enable-aci Third: ld.so.conf contains all necessary entries for running OpenLDAP Fourth: Of Course ! I ran ldconfig (serveral times) before and after compiling anything ------------------------------------------------------------------------ [2001-08-18 19:21:56] sniper@php.net Which ldap libraries do you use? How did you configure them? Do you have the necessary entry in /etc/ld.so.conf for the ldap libraries path? Have you run /sbin/ldconfig ? --Jani ------------------------------------------------------------------------ [2001-08-18 18:52:04] owanse@hotmail.com Sorry ! Did not enter a password in bug-report 12825 (so i am not able to submit a direct reply), anyway ... I started compiling php4.0.6 with: ./configure --prefix=/usr --bindir=/usr/bin --libdir=/usr/lib --with-config-file-path=/etc --with-exec-dir=%{libdir}/php/bin --with-pgsql=/usr --with-mysql=/usr --with-gd=yes --with-tiff-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --with-xpm-dir=/usr/X11R6 --with-pdflib=/usr --with-ldap=yes --with-imap=yes --with-imap-ssl --with-zlib=yes --with-bz2 --with-xml --with-ttf --with-t1lib --with-mcal=/usr/include/mcal/ --with-sablot --with-readline --with-ftp --with-ndbm --with-gdbm --with-mcrypt --with-gettext --with-curl --with-mm --with-gd=yes --with-qtdom=/usr/lib/qt2/ --enable-versioning --enable-yp --enable-bcmath --enable-trans-sid --enable-inline-optimization --enable-track-vars --enable-magic-quotes --enable-safe-mode --enable-sockets --enable-sysvsem --enable-sysvshm --enable-shmop --enable-calendar --enable-exif --enable-ftp --enable-memory-limit --enable-wddx --enable-filepro --enable-dbase --enable-ctype --enable-debug --enable-force-cgi-redirect --enable-discard-path --enable-sigchild --enable-gd-imgstrttf --with-openssl --with-swf=./usr --with-apxs=/usr/sbin/apxs --with-sybase-ct=/usr/local/freetds And once again, all worked fine, all but starting apache's http daemon. Nevertheless, i could not find anything describing the "undefined symbol" error in general. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=12830&edit=1

« previous php.bugs (#15918) next »