phantomjs phantomjs: error while loading shared libraries: cannot open shared object file: No such file or directory


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.