php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35385 libphp5.so fails to load
Submitted: 2005-11-25 09:57 UTC Modified: 2005-12-02 15:29 UTC
Votes:15
Avg. Score:4.7 ± 0.7
Reproduced:13 of 13 (100.0%)
Same Version:12 (92.3%)
Same OS:4 (30.8%)
From: yg at mind dot lu Assigned:
Status: Not a bug Package: IMAP related
PHP Version: 5.1.0 OS: Linux (Debian sarge)
Private report: No CVE-ID: None
 [2005-11-25 09:57 UTC] yg at mind dot lu
Description:
------------
If you compile php5.1 with imap support, it compiles fine 
but fails to load into apache2 with a somboly error, the 
exact errormessage is here:

Cannot load /usr/lib/apache2/modules/libphp5.so into server: /usr/lib/libc-client.so.2002edebian: undefined symbol: mm_dlog

I am using debian sarge which has apache 2.0.54

There is already a bug about that problem, and the
distro (gentoo) is blamed, my distro is another, so maybe
the problem might me more general as distro-specific

http://bugs.php.net/bug.php?id=33630



php compilation has been configured that way:


./configure \
--disable-debug \
--with-apxs2=/usr/bin/apxs2 \
--prefix=/usr/local/php51_apache2 \
--with-interbase=/usr/lib/firebird2 \
--with-mysql \
--with-mysqli \
--enable-gd-native-ttf \
--enable-gd-imgstrttf \
--with-freetype-dir \
--with-ttf=/usr \
--with-zlib \
--with-png-dir \
--with-jpeg-dir \
--with-pdflib \
--enable-ftp \
--enable-bcmath \
--enable-calendar \
--enable-memory-limit \
--enable-libgcc \
--enable-inline-optimization \
--with-gd \
--enable-mbstring \
--enable-dbase \
--enable-versioning \
--enable-dio \
--enable-ftp \
--enable-sqlite-utf8 \
--with-xmlrpc \
--with-pdo-firebird \
--with-pdo-mysql \
--with-pdo-sqlite \
--disable-cli \
--disable-cgi \
--with-config-file-path=/etc/php5.1 \
--with-openssl \
--with-bz2 \
--with-ldap \
--with-sqlite=/usr \
--with-imap=/usr \
--with-imap-ssl=/usr \
--with-kerberos



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-11-25 10:19 UTC] 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
 [2005-11-25 11:14 UTC] tony2001@php.net
Remove all those ./configure options and find the one that causes the error.
 [2005-11-25 11:37 UTC] 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-12-02 15:29 UTC] sniper@php.net
Compile the c-client library as static. It's not supported as shared by it's author..
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 10:01:29 2024 UTC