LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Differences between LD_LIBRARY_PATH and LD_PRELOAD (https://www.linuxquestions.org/questions/linux-newbie-8/differences-between-ld_library_path-and-ld_preload-236197/)

Nerox 09-28-2004 09:30 AM

Differences between LD_LIBRARY_PATH and LD_PRELOAD
 
Hello there, I would like to know what differences are between LD_LIBRARY_PATH and LD_PRELOAD environment variables. I know they are very similar, both are used by the linker.

Thanks In Advance

rjlee 10-01-2004 08:03 AM

They control the order in which the system looks for symbols when loading and libraries. See the dlopen manpage for more.


All times are GMT -5. The time now is 06:06 PM.