wahern / luaossl

Most comprehensive OpenSSL module in the Lua universe.

Home Page:http://25thandclement.com/~william/projects/luaossl.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

centos8 compile failed

KevinHexin opened this issue · comments

run: luarocks install luaossl CFLAGS="-O2 -fPIC -DHAVE_EVP_KDF_CTX=1" just pass compile, but got segmentation fault run tests

i sloved this problem:

  1. download https://github.com/openssl/openssl/archive/refs/tags/OpenSSL_1_1_1e.tar.gz and compile from source
  2. luarocks install luaossl CRYPTO_DIR=/openssl_install_path CRYPTO_INCDIR=/openssl_install_path/include OPENSSL_DIR=/openssl_install_path OPENSSL_INCDIR=/openssl_install_path/include

Close the issue then