phantomjs: error while loading shared libraries: libfreetype.so.6
2015-12-16 17:53
711 查看
CentOS - 执行phantomjs报错
报错信息:phantomjs: error while loading shared libraries: libfreetype.so.6: cannot open shared object file: No such file or directory
解决方法:
执行
# sudo yum install freetype
如果还报错
执行
# sudo yum install fontconfig freetype libfreetype.so.6
如果使用 ubuntu 或者 debian
use apt-get install to install this package
转自 http://linuxamination.blogspot.co.id/2014/04/phantomjs-error-while-loading-shared.html
报错信息:phantomjs: error while loading shared libraries: libfreetype.so.6: cannot open shared object file: No such file or directory
解决方法:
执行
# sudo yum install freetype
如果还报错
执行
# sudo yum install fontconfig freetype libfreetype.so.6
如果使用 ubuntu 或者 debian
use apt-get install to install this package
转自 http://linuxamination.blogspot.co.id/2014/04/phantomjs-error-while-loading-shared.html
相关文章推荐
- 深入理解javascript严格模式(Strict Mode)
- JSTL标签库中fmt标签,日期,数字的格式化
- 对JSON字符串进行解析
- Javascript 面向对象编程(一):封装
- js深入研究之无法理解的js类代码,extend扩展
- JavaScript基础学习<四>基本数据和引用类型
- jsp常用的指令与标签
- JSon实体类快速生成插件 GsonFormat 1.2.0
- js深入研究之神奇的匿名函数类生成方式
- <转>js onload/onunload/onbeforeunload事件
- js replaceAll
- JSon解析
- JSTL 核心标签库
- 【学习笔记javascript设计模式与开发实践(代理模式)----6】
- jsp页面中jstl标签详解
- 理解Javascript的call、apply
- JavaScript基础学习<三>参数传递
- OAF调用JavaScript新开窗口
- JS隐藏HTML标签对象
- js中的$.ajax()方法详解