-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
require "resty.nettle.library" get a boolean value #14
Comments
the demo is the same as #13 . |
I've found that the error should be |
after exec |
I made small changes to library loading function, so it now should report a bit more meaningful errors. |
The fix is in release 0.103. |
And yes, it was because you were missing the libraries on your operating system (this code binds system libs libnettle and libhogweed with LuaJIT FFI and provides a bit luafied interface). |
I still face this issue on 0.105 version on my wiindows machine |
I am still facing this issue with v105 ( master) . I tried on windows and amazon linux machines.
|
I am also getting this error with version 0.105-1. I'm running macOS High Sierra version 10.13.6.
When I try to run:
|
Turns out I needed to install nettle as well. A quick Posting this here to help out any future macOS users |
|
For some reasons,
var lib = require "resty.nettle.library"
will get a boolean.This problem occurs on one server(Ubuntu server 14.04), the other one is OK, sadly. I've already totally re-install openresty and resty.nettle (both latest), but it's still there.
The text was updated successfully, but these errors were encountered: