|Perl: the Markov chain saw|
Net::SSLeay on Ubuntu 18.04 with custom OpenSSL versionby cavac (Curate)
|on Nov 27, 2018 at 14:18 UTC||Need Help??|
cavac has asked for the wisdom of the Perl Monks concerning the following question:
I like to try out TLS 1.3. Unfortunately, as these things go, my Ubuntu 18.04 LTS comes only with the last OpenSSL version that doesn't support the new TLS version.
I'm a bit bamboozled on how to get Net::SSLeay working with my custom version.
I built the latest OpenSSL (1.1.1a) and installed it in my user home:
So far, it all worked out nicely. But i can't get Net::SSLeay to build:
Do i need to set some extra LD_LIBRARY_PATH or something? What about during runtime of my scripts, do i also need to set the environment variables or does Net::SSLeay remember?
I certainly want to make sure that only my local (self compiled) version of Perl uses this version of OpenSSL. I don't want to break other programs installed on the system.
perl -e 'use MIME::Base64; print decode_base64("4pmsIE5ldmVyIGdvbm5hIGdpdmUgeW91IHVwCiAgTmV2ZXIgZ29ubmEgbGV0IHlvdSBkb3duLi4uIOKZqwo=");'