A lot of this stuff is out of date and solved. I am compiling in readline and all these libraries statically into the binary. I also put together an app image file which is a self contained blob with all the libraries. It's in the zip file in the linux download sections of the website.