I know I can modify library search path by setting LD_LIBRARY_PATH etc., but this approach is sometimes lame. I really want to have /usr/local/lib in the default path, but unfortunately, this seems non-default in GNU/Linux. (I've had quite a few problems with /usr/local/lib before, and installing the same libraries in /usr/lib instead solved those problems. But I really don't want to mess with /usr/lib.)
So, is it possible to modify the default library path once and for all? Thanks.