wahern / luaossl

Most comprehensive OpenSSL module in the Lua universe.
http://25thandclement.com/~william/projects/luaossl.html
Other
140 stars 49 forks source link

centos8 compile failed #197

Closed KevinHexin closed 2 years ago

KevinHexin commented 2 years ago

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

KevinHexin commented 2 years ago

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
BugAlpha commented 2 years ago

Close the issue then