title: When dynamically linking, where will it search for the library, and how to change this?
body: <p>When I'm dynamically linking on a Unix/Linux based system, where will it try to find the library files when I execute the program, and how do I change this? I am using the GNU/G++ compiler. </p>