phantomjs phantomjs: error while loading shared libraries: libfontconfig.so.1: cannot open shared object file: No such file or directory

Uncategorized

I was receiving this error after installing phantomjs on my Linux Vagrant Instance.  The fix was very simple.  Just entered the following line and it worked.

sudo apt-get install libfontconfig

So basically just had to make sure that libfontconfig was installed.  Found the fix here.