码迷,mamicode.com
首页 > 其他好文 > 详细

gm: error while loading shared libraries: libpng15.so.15: cannot open shared object file: No such file or directory

时间:2015-10-22 18:57:25      阅读:184      评论:0      收藏:0      [点我收藏+]

标签:

org.im4java.core.CommandException: org.im4java.core.CommandException: /usr/local/bin/gm: error while loading shared libraries: libpng15.so.15: cannot open shared object file: No such file or directory

原因:GraphicsMagick-LATEST17.tar.gz 安装

技术分享

gm: error while loading shared libraries: libpng15.so.15: cannot open shared object file: No such file or directory

错误,无法访问libpng15.so.15

问题原因,不能访问到 libpng12.so.15对象文件

一般情况libpng12.so.15是gm支持png格式图片的库文件,一般放在/usr/local/lib下,查看路径下确实存在此库文件,把路径/usr/local/lib添加到/etc/ld.so.conf中,

更新ldconfig -v 更新动态链接库

问题解决

gm: error while loading shared libraries: libpng15.so.15: cannot open shared object file: No such file or directory

标签:

原文地址:http://www.cnblogs.com/sagech/p/4901752.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!