Skip to content

Comment on The LD_DEBUG environment variable (2012)

Comments

Used this once to debug an issue where it turned out unwanted exports in one library A where used to satisfy imports in another library B and thus preventing library A from being unloaded. Fun times.

The ldd command is also essentially just a wrapper script that sets LD_* variables that get the dynamic loader to do all the real work.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.