Bug->Doc #56226 [Opn->Ver]: Failure to load after install

From: Date: Tue, 25 Aug 2015 13:24:33 +0000
Subject: Bug->Doc #56226 [Opn->Ver]: Failure to load after install
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-12658@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=56226&edit=1 ID: 56226 Updated by: cmb@php.net Reported by: abbaddon at smartchat dot net dot au Summary: Failure to load after install -Status: Open +Status: Verified -Type: Bug +Type: Documentation Problem Package: mailparse Operating System: Linux Fedora core 1 PHP Version: 4.3.3 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: Indeed, mbstring has to be loaded before mailparse. Previous Comments: ------------------------------------------------------------------------ [2008-06-03 04:03:55] bugs dot pear dot php dot net at tylerrick dot com What worked for me, strangely, was what it suggested in http://www.cerb4.com/forums/showthread.php?t=40 -- In /etc/php.d/mbstring.ini : changed from extension=mbstring.so to: extension=mbstring.so extension=mailparse.so Not sure why that would fix it ... but I'm guessing the problem was simply that mbstring.so 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 ------------------------------------------------------------------------ [2004-11-05 23:13:23] abbaddon at smartchat dot net dot au Description: ------------ 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/mailparse.so' - /usr/lib/php4/mailparse.so: undefined symbol: mbfl_convert_filter_new Mailparse does not appear in the list of installed modules vie extension=mailparse.so The .so is in /usr/lib/php4/ with the other extensions manual installation does not resolve this problem ie 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>"; dl("mailparse.so"); } 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/mailparse.so' - /usr/lib/php4/mailparse.so: undefined symbol: mbfl_convert_filter_new ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=56226&edit=1

« previous php.doc.bugs (#12658) next »