php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12830 undefined symbol: sasl_set_alloc
Submitted: 2001-08-18 18:52 UTC Modified: 2002-08-03 10:17 UTC
From: owanse at hotmail dot com Assigned:
Status: Not a bug Package: LDAP related
PHP Version: 4.0.6 OS: linux 2.4
Private report: No CVE-ID: None
 [2001-08-18 18:52 UTC] owanse at hotmail dot 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-08-18 19:21 UTC] 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-26 12:11 UTC] owanse at hotmail dot 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

 [2002-05-25 08:59 UTC] 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.


 [2002-08-03 10:17 UTC] venaas@php.net
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.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 10:01:28 2024 UTC