I am newbie for Cent os. Installing phantomjs on Cent os. Followed below steps but still facing issue.
Steps :
- curl -O https://phantomjs.googlecode.com/files/phantomjs-1.9.1-linux-i686.tar.bz2.
- tar xvf phantomjs-1.9.1-linux-i686.tar.bz2
- cp phantomjs-1.9.1-linux-i686/bin/phantomjs /usr/local/bin
- sudo yum install freetype
- sudo yum install fontconfig
Above all steps completed successfully but when I try to hit phantomjs, it shows error "phantomjs: error while loading shared libraries: libfontconfig.so.1: cannot open shared object file: No such file or directory."
Thanks in advance.