ID: 35385
Updated by: [EMAIL PROTECTED]
Reported By: yg at mind dot lu
-Status: Feedback
+Status: Bogus
Bug Type: IMAP related
Operating System: Linux (Debian sarge)
PHP Version: 5.1.0
New Comment:
Compile the c-client library as static. It's not supported as shared by
it's author..
Previous Comments:
------------------------------------------------------------------------
[2005-11-29 10:13:49] js at goetschy dot cil
I get the same error on fedora 4 x86_64 (apache 2.0.55/php 5.1.1 - gcc
4.0.1 ).
start ok without imap/imap-ssl options.
I tried to copy the 5.0.4 ext/imap dir on a fresh un tared 5.1.1
version, but compil failed
(php_imap.c: multiple definition for each function).
Exactly same conf compiles and loads with 5.0.5.
------------------------------------------------------------------------
[2005-11-25 14:32:36] [EMAIL PROTECTED]
So, the problem is not somewhere in ext/imap.
Good to hear that.
What compiler are you using?
------------------------------------------------------------------------
[2005-11-25 11:37:53] yg at mind dot lu
Thanks for your answer.
It's the following two lines:
--with-imap
--with-imap-ssl
Without them it loads fine. As soon as I add them, I get the
mentioned error when apache wants to load libphp5.so.
------------------------------------------------------------------------
[2005-11-25 11:14:26] [EMAIL PROTECTED]
Remove all those ./configure options and find the one that causes the
error.
------------------------------------------------------------------------
[2005-11-25 10:19:55] yg at mind dot lu
I tried to build imap as a shared module, and it also fails
to load with the following error:
Warning: dl() [function.dl.html]: Invalid library (maybe not a PHP
library) 'imap.so' in /home/yves/public_html/phpinfo.php on line 3
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/35385
--
Edit this bug report at http://bugs.php.net/?id=35385&edit=1