Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Configure Thrift libcrypto required

Tags:

thrift

I installed Openssl, Openssl-dev on Linux. When I configure Thrift, I get this error:

checking for BN_init in -lcrypto... no
configure: error: "Error: libcrypto required."

Please advise!

like image 708
Aloha Avatar asked Feb 03 '12 03:02

Aloha


4 Answers

On Ubuntu installing libssl-dev package should fix it. If you use another distro, package name should be similar.

like image 190
Wildfire Avatar answered Oct 18 '22 00:10

Wildfire


On debian 8, sudo apt-get install libssl1.0-dev solves the issue.

like image 16
NekoPep Avatar answered Oct 18 '22 00:10

NekoPep


On Amazon Linux (and possibly CentOS/Fedora/RHEL), you will need to install openssl-devel

like image 11
Andrew Avatar answered Oct 18 '22 00:10

Andrew


on Ubuntu 18.04, run this: sudo apt install libssl1.0-dev

like image 5
Joe Avatar answered Oct 18 '22 00:10

Joe