2
我想在Centos上安装PhantomJS。这些是我遵循的步骤。在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。
我按照一些博客的步骤。你有没有安装最新版本的步骤。谢谢 ! –
尝试https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-i686.tar.bz2 – Vaviloff
无包可用于centos的libfontconfig –