termux / termux.github.io

The main termux site and help pages.
https://termux.github.io
883 stars 173 forks source link

Getting error while installing lua http #40

Closed b3nsh4 closed 6 years ago

b3nsh4 commented 6 years ago

I'm trying to install the http module for Lua. But Luasec,Luaossl,cqueues needs to be installed before installing http. But I'm facing this error. I already have openssl installed on my termux. When I'm trying to install Luasec,it is saying no https support. :disappointed:

luarocks install luaossl

>> Error: Could not find header file for CRYPTO
  No file openssl/crypto.h in /usr/local/include
  No file openssl/crypto.h in /usr/include
You may have to install CRYPTO in your system and/or pass CRYPTO_DIR or CRYPTO_INCDIR to the luarocks command.

:disappointed:

openssl.h or ssl.h didn't found on /include

please help ! :disappointed: