Sorry, blocked myself from replying by marking your post as the solution. 😁
Ah, must confess: I struggle with $LD_LIBRARY_PATH usage. I'm not really a compiler and linker type programmer, so I've never properly understood how it's supported to work.
I'll figure it out one day though. 🤓...