this post was submitted on 26 Oct 2025
4 points (64.3% liked)

Linux

59267 readers
633 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

geteilt von: https://lemmy.ml/post/38099727

(translated) According to my statistics, the vast majority of my visitors use a Unix-like or Unix operating system. What do these OSs have in common? They all have their own preloader, which is used to load shared libraries.

Use the translator in the sidebar to translate the page.

you are viewing a single comment's thread
view the rest of the comments
[–] just_another_person@lemmy.world -2 points 3 days ago* (last edited 3 days ago) (2 children)

It's an environment variable...

Does this warrant and entire novel about it if you're working within external source builds? No.

In fact, I think you'd be better off writing a deep dive into what/how environment variables work at build time, and also invoking commands on the CLI.

[–] Markaos@discuss.tchncs.de 5 points 2 days ago

In fact, I think you'd be better off writing a deep dive into what/how environment variables work at build time, and also invoking commands on the CLI.

But LD_PRELOAD doesn't really have much to do with build time behavior (unless you're talking about replacing parts of the compiler) - it allows you to force a shared library to be loaded with higher priority than anything else, so it overrides symbols from other libraries.

It is recognized and used by Linux's dynamic linker, which is run-time, not build-time.

load more comments (1 replies)