"Permission denied" error when editing /etc/ld.so.conf
Solution 1:
From memory this should do it:
sudo sh -c "echo '/usr/local/lib' >> /etc/ld.so.conf"
From memory this should do it:
sudo sh -c "echo '/usr/local/lib' >> /etc/ld.so.conf"