Blog

No package libcrypto found on Ubuntu/Debian, CentOS, MacOS

libcrypto-ssl-tsl
Linux / SSL/TLS

No package libcrypto found on Ubuntu/Debian, CentOS, MacOS

What we have to do if you may get the output while building the Nodejs – “No package libcrypto found”. Before you fix the above output, lets get understand the Libcrypto package.

The Libcrypto is an opensource library that is provided by OpenSSL, there are two primary libraries libssl and libcrypto. The libcrypto library provides the fundamental cryptographic routines used by libssl. The most of the use cases the high level interface that is provided for performing cryptographic operations.

This post will explain how to install the Libcrypto in your favorite operating systems, like Ubuntu/Debian. CentOS/RHEL, MacOS.

Ubuntu/Debian:

$ sudo apt-get update
$ sudo apt install libcurl4-openssl-dev libssl-dev

CentOS/RHEL:

$ sudo yum install -y openssl-devel

MacOS:

$ brew install pkg-config
$ brew update
$ brew install openssl
Spread the love

Leave your thought here

Your email address will not be published. Required fields are marked *