user2496041
user2496041

Reputation: 25

Why LD_PRELOAD, LD_LIBRARY_PATH and other related things contain "LD", while ld is linker and dynamic loader should be denoted by "dl"?

I have a little question about naming of things related to dynamic loader in Linux and other Unix based operation systems. All them contains "ld" in name: LD_PRELOAD, LD_LIBRARY_PATH, dynamic loader stores it's configs in /etc/ld.*. I am a little confused by this since ld is linker that's separate thing of dynamic loader. Should it be "DL" instead of "LD" in naming?

Thanks in advance.

Upvotes: 1

Views: 126

Answers (1)

Ignacio Vazquez-Abrams
Ignacio Vazquez-Abrams

Reputation: 799082

The "LD" refers to the loader, ld.so, rather than the linker.

Upvotes: 1

Related Questions