【发布时间】:2017-12-22 12:42:39
【问题描述】:
我正在尝试在 Centos 中安装 PhantomJS。这些是我遵循的步骤。
yum install freetype fontconfig
cd ~
wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-linux-i686.tar.bz2
bunzip2 phantomjs*.tar.bz2
tar xvf phantomjs*.tar
cp phantomjs*/bin/phantomjs /usr/bin/phantomjs
我收到以下错误。
phantomjs: error while loading shared libraries: libfontconfig.so.1: cannot open shared object file: No such file or directory
任何人都可以发光。我已经安装了 fontconfig。
【问题讨论】:
标签: centos phantomjs installation