Re: [PHP-DEV] Re: Bug #12241 Updated: imap.so: undefined symbol:
On Wed, 01 Aug 2001 03:04:29 +0200, Jani Taskinen [EMAIL PROTECTED] wrote: I guess this problem exists only when it's configured as shared extension? If so, I know how to fix it.. I just tried the latest snapshot. Now everything works. One last strange thing: The shared imap extension used to be called imap.so. Now it's called imap.a. Personally, I don't care, but maybe it will cause some confusion and a new wave of bug reports because people aren't aware that their php.ini files need to be adjusted. -- Greetings from Troels Arvin, Copenhagen, Denmark -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DEV] Re: Bug #12241 Updated: imap.so: undefined symbol:
On Wed, 01 Aug 2001 03:04:29 +0200, Jani Taskinen [EMAIL PROTECTED] wrote: I guess this problem exists only when it's configured as shared extension? True If so, I know how to fix it.. That would be great. -- Greetings from Troels Arvin, Copenhagen, Denmark -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Re: Bug #12241 Updated: imap.so: undefined symbol: mxdriver in Unknown on line 0
On Thu, 19 Jul 2001 03:01:03 +0200, jmmele [EMAIL PROTECTED] wrote: all the modules I compile are working but imap.so I have found the same problem with PHP 4.0.6 - on two different Red Hat Linux generations. I know about all the tricks regarding --with-imap-ssl and --with-imap-kerberos, but none of them helped. Neither did changing imap version. Now, I have found a hack which seems to work, for some strange reason: Don't use --with-imap 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. -- Greetings from Troels Arvin, Copenhagen, Denmark -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]