, ,

Linux – Adding /usr/local/lib to /etc/ld.so.conf

Fixes many missing library errors

if [ "`grep '/usr/local/lib' /etc/ld.so.conf`" == "" ] ; then
   sudo sh -c ' printf "\n/usr/local/lib" >> /etc/ld.so.conf';
fi;
sudo ldconfig

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *