I am newbie for Cent os. Installing phantomjs on Cent os. Followed below steps but still facing issue.
Steps :
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.
Just make sure you successfully run
yum install fontconfig freetype freetype-devel fontconfig-devel libstdc++
and then try to install as usual.
To remove this error.
# sudo yum install fontconfig
If you are still facing the error, Run
# sudo yum install fontconfig freetype libfreetype.so.6 libfontconfig.so.1 libstdc++.so.6
Note : If you are using ubuntu or debian, use apt-get install to install this package.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With