|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #56226 Failure to load after install
Submitted: 2004-11-05 23:13 UTC Modified: 2015-08-25 13:33 UTC
From: abbaddon at smartchat dot net dot au Assigned: cmb (profile)
Status: Closed Package: mailparse (PECL)
PHP Version: 4.3.3 OS: Linux Fedora core 1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: abbaddon at smartchat dot net dot au
New email:
PHP Version: OS:


 [2004-11-05 23:13 UTC] abbaddon at smartchat dot net dot au
Note - php version is actually 4.39 (wasnt an option above)
OS FedoreCore1
mbstring IS listed and working in extensions

Installation seemed to go as expected, however when I executed a script to check the existance of mailparse (or load it if it wasnt already) I received this error
dl(): Unable to load dynamic library '/usr/lib/php4/' - /usr/lib/php4/ undefined symbol: mbfl_convert_filter_new

Mailparse does not appear in the list of installed modules vie
The .so is in /usr/lib/php4/ with the other extensions

manual installation does not resolve this problem

1. download mailparse package
2. phpize configure make make install reports sucessful installation

still the same error

Reproduce code:
echo "testing for mailparse<br>";
if(extension_loaded("mailparse")) {
        echo "mailparse is detected by extension_loaded<br>";
} else {
        echo "mailparse is ***NOT** detected by extension_loaded - it has to be loaded via dl function<br>";

if (function_exists('mailparse_rfc822_parse_addresses'))
    		echo "mailparse exists<br>";

Expected result:
"mailparse exists"

Actual result:
testing for mailparse
mailparse is ***NOT** detected by extension_loaded - it has to be loaded via dl function
Error of type E_WARNING: dl(): Unable to load dynamic library '/usr/lib/php4/' - /usr/lib/php4/ undefined symbol: mbfl_convert_filter_new


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-06-03 04:03 UTC] bugs dot pear dot php dot net at tylerrick dot com
What worked for me, strangely, was what it suggested in --

In /etc/php.d/mbstring.ini : changed from


Not sure why that would fix it ... but I'm guessing the problem was simply that needed to get loaded first.

> php --version
PHP 5.1.6 (cli) (built: Oct 26 2007 13:49:00) 

> uname -a
Linux ...  2.6.9-023stab046.2-enterprise #1 SMP Mon Dec 10 15:22:33 MSK 2007 i686 athlon i386 GNU/Linux
 [2015-08-25 13:24 UTC]
-Status: Open +Status: Verified -Type: Bug +Type: Documentation Problem -Assigned To: +Assigned To: cmb
 [2015-08-25 13:24 UTC]
Indeed, mbstring has to be loaded before mailparse.
 [2015-08-25 13:32 UTC]
Automatic comment from SVN on behalf of cmb
Log: mailparse requires mbstring (fixes #56226)
 [2015-08-25 13:33 UTC]
-Status: Verified +Status: Closed
 [2015-08-25 13:33 UTC]
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Sep 17 11:03:36 2021 UTC