Library Resolution

Intro I ran into an issue the other day with an executable not finding a library it depended on. I found where the library was and attempted to set LD_LIBRARY_PATH to get it on path for the executable. This had no effect. A little more digging led me to RPATH which I hadn’t heard of til this point. It turn’s out that RPATH takes precedence and can’t be overridden by LD_LIBRARY_PATH....

July 30, 2023 · 2 min · 320 words