RejectedSoftware Forums

Sign up

cannot find -lcrypto

Hi, merry Christmas to you all. I want to know how to resolve the linker problem:

cannot find -lcrypto

Thanks!

Re: cannot find -lcrypto

On 2018-12-24 03:47, Rey Valeza wrote:

Hi, merry Christmas to you all. I want to know how to resolve the linker problem:

cannot find -lcrypto

You need to have libcrypto installed. This usually comes installed with
OpenSSL. How to install OpenSSL depends on which platform you're running.

/Jacob Carlborg

Re: cannot find -lcrypto

On Tue, 25 Dec 2018 20:38:44 +0100, Jacob Carlborg wrote:

On 2018-12-24 03:47, Rey Valeza wrote:

Hi, merry Christmas to you all. I want to know how to resolve the linker problem:

cannot find -lcrypto

You need to have libcrypto installed. This usually comes installed with
OpenSSL. How to install OpenSSL depends on which platform you're running.

/Jacob Carlborg

I know this is an old thread but I encountered the same error again, so I am going to give an answer.

On an Ubuntu system, install libssl-dev. That will solve both -lcrypto and -lssl.