http://qs321.pair.com?node_id=1226574


in reply to Re^2: Net::SSLeay on Ubuntu 18.04 with custom OpenSSL version
in thread Net::SSLeay on Ubuntu 18.04 with custom OpenSSL version

So, LD_LIBRARY_PATH did the trick. Not sure why Net::SSLeay doesn't set it automatically, though...

Not its job Should I set LD_LIBRARY_PATH?, Why LD_LIBRARY_PATH is bad