PHP Warning:  PHP Startup: Unable to load dynamic library ‘/home/admin/apps/php5/lib/php/extensions/no-debug-non-zts-20060613/gd.so’ – libpng15.so.15: cannot open shared object file: No such file or directory in Unknown on line 0

[Thu Oct 13 17:47:38 2011] [notice] Apache/2.2.15 (Unix) PHP/5.2.13 configured — resuming normal operations

[Thu Oct 13 17:49:15 2011] [notice] SIGHUP received.  Attempting to restart

PHP Warning:  PHP Startup: Unable to load dynamic library ‘/home/admin/apps/php5/lib/php/extensions/no-debug-non-zts-20060613/gd.so’ – libpng15.so.15: cannot open shared object file: No such file or directory in Unknown on line 0

[Thu Oct 13 17:49:15 2011] [notice] Apache/2.2.15 (Unix) PHP/5.2.13 configured — resuming normal operations

[Thu Oct 13 20:33:15 2011] [notice] SIGHUP received.  Attempting to restart

PHP Warning:  PHP Startup: Unable to load dynamic library ‘/home/admin/apps/php5/lib/php/extensions/no-debug-non-zts-20060613/gd.so’ – libpng15.so.15:

解决方法:

 

webalizer: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory

That means that the program is unable to find the gd library required to run it. You should already have the library, so you just have to tell the binary linker where to find it.

Type the following:

# echo “/usr/local/lib” >> /etc/ld.so.conf
# ldconfig

 

http://hi.baidu.com/haichaoqu/item/c377b614fe7e16cb39cb30c0

Published in PHP
Tags:

No Responses to “出现:gd.so’ – libpng15.so.15 或 libjpeg : cannot open shared object file的解决方法”

Leave a Reply

请输入算式结果(看不清请点击图片)
(必须)