When running:
sudo /sbin/ldconfig
the following error appears:
/sbin/ldconfig: /usr/local/lib/ is not a symbolic li
I simply ran the command below:
export LD_LIBRARY_PATH=/usr/lib/
Now it is working fine.