3 ms·
Amazing, thanks! I already knew about the embedded -rpath but hadn't heard about $ORIGIN before so I always dismissed it as not being much use. According to thi
by quietbritishjim 6y ago
Amazing, thanks! I already knew about the embedded -rpath but hadn't heard about $ORIGIN before so I always dismissed it as not being much use. According to this StackOverflow answer [1] you need to use the -z origin switch but I only found that thanks to you pointing me in the right direction. I'll be adding this particular gotcha to my deployed executables immediately!
[1] https://stackoverflow.com/questions/6324131/rpath-origin-not-having-desired-effect https://stackoverflow.com/questions/6324131/rpath-origin-not...