-
Notifications
You must be signed in to change notification settings - Fork 101
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
rsa.lua:149: cannot resolve symbol 'RSA_new' #23
Comments
@sstong123 -- you need to have ssleay.dll in your system library path
if ffi.os == 'Windows' then
C = ffi.load("ssleay.dll")
end |
Another solution is to use gcc from msys2 to build your OpenResty suite, including the OpenSSL library. |
@spacewander My Openresty_For_Windows 64bit is work well, and some other third librarys works fine when I put them under nginx\resty, can you please describe it in detail how shoud I do? |
@sstong123 |
When I do as your example in README.md,I got the error as below:
2018/04/24 19:57:26 [error] 125048#124724: *47909566 lua entry thread aborted: runtime error: ...y_For_Windows_1.13.5.1001_64Bit\x64\nginx//resty\rsa.lua:149: cannot resolve symbol 'RSA_new': 找不到指定的程序。
stack traceback:
coroutine 0:
[C]: in function '__index'
...y_For_Windows_1.13.5.1001_64Bit\x64\nginx//resty\rsa.lua:149: in function 'generate_rsa_keys'
The text was updated successfully, but these errors were encountered: