#41636 [Opn->Bgs]: Warning: dl() [function.dl]: Unable to load dynamic library '%PATH%'
| From: | johannes@php.net | Date: | Sat, 09 Jun 2007 08:07:01 +0000 |
| Subject: | #41636 [Opn->Bgs]: Warning: dl() [function.dl]: Unable to load dynamic library '%PATH%' | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-113599@lists.php.net to get a copy of this message | ||
ID: 41636
Updated by: johannes@php.net
Reported By: jason dot zhou at bertelsmann dot com dot cn
-Status: Open
+Status: Bogus
Bug Type: *Extensibility Functions
Operating System: SuSE Linux 9
PHP Version: 5.2.3
New Comment:
The so you're trying to laod was compiled using another PHP version.
Please make sure you're using the same PHP while compiling and using the
extension.
btw. you shouldn't use dl() but only extension=....so in your php.ini
file.
For future issues: Please report issues about PECL extensions at
http://pecl.php.net
Previous Comments:
------------------------------------------------------------------------
[2007-06-08 16:22:46] jason dot zhou at bertelsmann dot com dot cn
Description:
------------
I have installed 'pecl_http',and modified php.ini, the
extension_dir="/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/"
and extension=http.so. But i still get errors like below:
Warning: dl() [function.dl]: Unable to load dynamic library
'/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/http.so' -
/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/http.so:
undefined symbol: OnUpdateLong in /data/int/index.php on line 9
Fatal error: Call to undefined function http_get() in
/data/cms/mx/frontend/cfrontcache.php on line 456
I have tried to change the extension_dir=/usr/local/php/modules/ but
from the phpinfo.php it still the "/usr/.../no-debug...20060613"
Reproduce code:
---------------
Warning: dl() [function.dl]: Unable to load dynamic library
'/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/http.so' -
/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/http.so:
undefined symbol: OnUpdateLong in /data/int/index.php on line 9
Fatal error: Call to undefined function http_get() in
/data/cms/mx/frontend/cfrontcache.php on line 456
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=41636&edit=1