A really nice read. Thank you for your effort.
In the "Runtime Search Path: Security" section, there's:
LD_LIBRARY_PATH=. ./main
But the library is in ./libs in that example.