DEV Community

Cover image for You have been zigged (series) : Link using LD_LIBRARY_PATH and PATH
Black Tornado
Black Tornado

Posted on

You have been zigged (series) : Link using LD_LIBRARY_PATH and PATH

Operating systems allows us to place all the libraries in a common folder. Once done, we can provide the path of that folder in an environment variable so that the compiler will look inside that folder and resolve libraries. In Linux this is LD_LIBRARY_PATH and in windows its PATH itself. The original article written by Mr. Pai in GNULinux.pdf does enough justice so that I'm skipping it in my series at least for now.

Thanks for reading. To be continued.

Top comments (0)