Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Does Linux have support for LD_LIBRARY_PATH ?

ld_library_path linux support
0
Posted

Does Linux have support for LD_LIBRARY_PATH ?

0

Ans: Yes and No, depending on the version of libc your binary was originally compiled with. * Initially LD_LIBRARY_PATH was supported with libraries > than 4.3.3. I.e. the __load.o routine in your stub (/usr/lib/libc.sa) was replaced to cater for this. With binaries compiled using libc version less than 4.4.4, linux’s dynamic linker contains the loader as a static object in the form of __load.o which appears in the libc.sa stub and automatically gets linked into every binary you build. This means that changes to __load.o take a very long time to propagate and appear in every single binary. So to answer the question: Yes, it is supported if anything is compiled using library versions greater that 4.3.3, (libc.so.4.3.4 and above), but the upshot is that you will not notice it unless you recompile *all* your binaries. * With libc version 4.4.4 and above, the dynamic loader was in fact made dynamic and loads and unloads itself after searching and locating the required libraries. The upshot

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123