Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env bash
# See <http://perltricks.com/article/57/2014/1/1/Shazam-Use-Image-Magick-with-Perlbrew-in-minutes>
# may need to have the perl configured with -Duseshrplib
#
# perl -V | grep -- '-Duseshrplib'
# compile perl with perlbrew:
#
@andyjack
andyjack / installing-net-ssleay-with-homebrew-openssl.md
Last active August 18, 2022 14:29
Installing Net::SSLeay with openssl from homebrew (OS X)

Installing Net::SSLeay with openssl from homebrew (macOS)

You don't need to do anything fancy other than running cpanm - with the most recent Net::SSLeay things should Just Work.

Updated 2020-Mar-10

I realized that since Net::SSLeay is looking in known places (including homebrew's install locations) for openssl, it means that my instructions that set up environment variables are no longer necessary! The following will install the module:

# openssl 1.0.2d
#!/usr/bin/env bash
# See <http://perltricks.com/article/57/2014/1/1/Shazam-Use-Image-Magick-with-Perlbrew-in-minutes>
# may need to have the perl configured with -Duseshrplib
#
# perl -V | grep -- '-Duseshrplib'
# compile perl with perlbrew:
#