Re: [PHP-DEV] Re: Bug #12241 Updated: imap.so: undefined symbol: mxdriver in Unknown on line 0 From: Jani Taskinen (sniper <email protected>)
Date: 07/31/01

On Sat, 28 Jul 2001, Troels Arvin wrote:

>Instead, after the rest of PHP has compiled, go to the php source-dir and
>do:
>
>gcc -fPIC -shared -DCOMPILE_DL_IMAP -DHAVE_IMAP \
> -I. -I./TSRM -I./main -I`/usr/include/apache -I./Zend \
> -I/usr/include/imap -I./ext/imap \
> `grep ^CPPFLAGS Zend/Makefile | cut -f2- -d=` -DHAVE_IMAP2000 \
> -DHAVE_IMAP_SSL ext/imap/php_imap.c -o modules/imap.so \
> -L.libs /usr/lib/c-client.a -lssl -lcrypto -lc
>
>(Notice the _back_-ticks around the grep-expression.)
>
>Note that there are no references to Kerberos. That's because I use a
>version of imap-devel which doesn't have Kerberos bloat:
>http://rpms.arvin.dk/imap-no_kerberos/
>
>PS:
>This php-imap problem did not exist in previous PHP versions.

I guess this problem exists only when it's configured as shared extension?
If so, I know how to fix it..

--Jani

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>