3 engineers on Hacker News describe using LD_PRELOAD first-hand: 1 endorse it, 1 regret it, 0 are mixed.
“LD_PRELOAD unfortunately doesn't work for statically linked libc.”
regret · production · entelechy · 2025-08-16 · source ↗ · wrong label?“I'm pretty sure that LD_PRELOAD hack ran in prod for years :-) Very handy trick.”
endorse · production · angrygoat · 2017-12-04 · source ↗ · wrong label?“The amount of times we ran LD_PRELOAD in prod was vanishingly small and limited to debug”
neutral · production · PunchyHamster · 2026-06-21 · source ↗ · wrong label?