| 15 Dec 2025 |
apyh | the only thing i managed was to pass it in ld library path manually :/ | 21:16:43 |
Robbie Buxton | Oh you’ll need to patchelf it | 21:16:44 |
apyh | err.. but it uses dlopen, right? | 21:17:13 |
Robbie Buxton | Sure but then it’ll know where it is no? | 21:17:32 |
apyh | my understanding is that bare soname dlopen doesn't care about that | 21:18:01 |
apyh | like we'd have to patch the *python* binary | 21:18:13 |
apyh | (very possible. I'm completely wrong here though, this is all new to me) | 21:18:23 |
Robbie Buxton | A bare no name dlopen will check the runpaths for where it’s being called form | 21:18:26 |
apyh | right, but that's the top level executable, python, not the libraries in the chain, no? | 21:18:58 |
Robbie Buxton | Nah each library checks its own runpath | 21:19:15 |
Robbie Buxton | As it goes down the call chain | 21:19:21 |
apyh | I thought this was true with DT_NEEDED but not with dlopen.. | 21:20:05 |
Robbie Buxton | I’m pretty sure this is how it works based on my experience but I could be wrong. | 21:21:01 |