I work on a Fedora Linux box.
I have a whole host of binaries and libraries that I've installed locally under my home directory.
I'd like to set my system up so installing software there functions the same way (for me) as if the root user installed it without a prefix.
I can run binaries installed in ~/local/bin just fine by adding that dir to my PATH variable, but what about linking to libraries in ~/local/lib and ~/local/lib64?
Is there something akin to LD_LIBRARY_PATH variable but to find the library at compile rather than runtime? I don't want to worry about explicitly passing the path to the compiler via L~/local/lib or through flags in the ./configure script.