adding line to /etc/ld.so.conf
When trying to install some programs I get this message:
"This path is not mentioned amog the linker search paths in your /etc/ld.so.conf. This means it is possible that (insert program name here) will not be found when you try to compile or run a program using it. If this happens, you should add /usr/local/lib to the environment variable LD_LIBRARY_PATH like that: export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH Alternatively you can add a line "/usr/local/lib" to your /etc/ld.so.conf. "
so, my question is how to add the line /usr/local/lib to my /etc/ld.so.conf, I have browsed to the ld.so.conf and cannot edit it to add the line. also I tried in terminal to run the export line found in the above paragraph and that did not work.
how do I add that line to ld.so.conf?