Bug #12830 Updated: undefined symbol: sasl_set_alloc
| From: | owanse at hotmail dot com | Date: | Sun, 26 Aug 2001 16:11:00 +0000 |
| Subject: | Bug #12830 Updated: undefined symbol: sasl_set_alloc | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-64355@lists.php.net to get a copy of this message | ||
ID: 12830
User updated by: owanse@hotmail.com
Reported By: owanse@hotmail.com
Old Status: Feedback
Status: Open
Bug Type: Apache related
Operating System: linux 2.4
PHP Version: 4.0.6
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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