$ cpanm Net::SSLeay --> Working on Net::SSLeay Fetching http://www.cpan.org/authors/id/M/MI/MIKEM/Net-SSLeay-1.85.tar.gz ... OK Configuring Net-SSLeay-1.85 ... OK Building and testing Net-SSLeay-1.85 ... FAIL ! Installing Net::SSLeay failed. See ~/.cpanm/work/1555363377.6081/build.log for details. Retry with --force to force install it. $ vi ~/.cpanm/work/1555363377.6081/build.log Checking configure dependencies from META.yml Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.34) Configuring Net-SSLeay-1.85 Running Makefile.PL *** Found OpenSSL-1.0.2k installed in /usr *** Be sure to use the same compiler and options to compile your OpenSSL, perl, and Net::SSLeay. Mixing and matching compilers is not supported.