Ich versuche PhantomJS in Centos zu installieren. Dies sind die Schritte, denen ich gefolgt bin.Installieren von PhantomJS in CentOS
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
Ich bekomme dies unter Fehler.
phantomjs: error while loading shared libraries: libfontconfig.so.1: cannot open shared object file: No such file or directory
Kann jemand etwas Licht werfen. Ich habe fontconfig installiert.
Ich folgte Schritte aus einigen Blogs. Haben Sie die Schritte, um die neueste Version zu installieren? Vielen Dank ! –
Versuchen Sie https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-i686.tar.bz2 – Vaviloff
Kein Paket libfontconfig für Centos verfügbar –