PHP 4.0 Bug #4687: Undefined symbol stops imap being included
| From: | carwyn at carwyn dot demon dot co dot uk | Date: | Tue, 30 May 2000 03:23:07 +0000 |
| Subject: | PHP 4.0 Bug #4687: Undefined symbol stops imap being included | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-19724@lists.php.net to get a copy of this message | ||
From: carwyn@carwyn.demon.co.uk
Operating system: Redhat 6.2
PHP version: 4.0.0 Release
PHP Bug Type: Dynamic loading related
Bug description: Undefined symbol stops imap being included
Having trouble getting imap to work, everything else in the setup works but fails as soon as imap is
added.
PHP4 Release
============
./configure --with-apxs=/usr/local/apache/bin/apxs \
--enable-track-vars --enable-trans-sid --enable-ftp \
--with-pgsql=/usr/local/pgsql \
--with-openssl=/usr/local/ssl \
--with-imap=/usr/lib
Apache 1.3.12
=============
./configure --enable-module=ssl \
--enable-module=so \
--enable-module=log_referer \
--enable-module=vhost_alias \
--enable-module=headers \
--with-perl=/usr/bin/perl
To get PHP to compile with imap I did:
ln -s /usr/lib/c-client.a /usr/lib/libc-client.a
But then on loading the module I get:
Starting httpd: Syntax error on line 207 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/local/apache/libexec/libphp4.so:
undefined symbol: gss_mech_krb5
"grep gss_mech_krb5 /usr/lib/c-client.a" matches true though and LD_LIBRARY_PATH has
/usr/lib in as well as being in /etc/ld.so.conf.
Help! a response would be great if you could as I really need imap working.