Skip to content

Instantly share code, notes, and snippets.

@amitizle
Created May 22, 2017 18:41
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amitizle/e79d63abb943e382ed1b313cfeeb6fa4 to your computer and use it in GitHub Desktop.
Save amitizle/e79d63abb943e382ed1b313cfeeb6fa4 to your computer and use it in GitHub Desktop.
Install luasec rock MacOS
# With openssl installed (brew install openssl)
$ luarocks --local install luasec OPENSSL_INCDIR=/usr/local/opt/openssl/include/
@rprandi
Copy link

rprandi commented Jun 19, 2018

Great!

@neverdizzy
Copy link

thanks, this way solve my problem

@Akokjk
Copy link

Akokjk commented Jan 24, 2022

Thanks! I love you bro.

@marvinschmitt
Copy link

I had trouble because the openssl libraries could not be found. A friendly pointer to the lib path solved the issue for me:

luarocks --local install luasec OPENSSL_INCDIR=/opt/homebrew/Cellar/openssl@3/3.0.8/include OPENSSL_LIBDIR=/opt/homebrew/Cellar/openssl@3/3.0.8/lib

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment