-
Notifications
You must be signed in to change notification settings - Fork 102
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
undefined symbol: EVP_MD_CTX_ new #60
Comments
It should be protected by the condition there: lua-resty-rsa/lib/resty/rsa.lua Line 151 in 49ed1f1
Which version of lua-resty-rsa do you use? |
1.1.0 |
The line 152 of version 1.1.0 doesn't point to Is the source code modified? Maybe you can install the latest version and try again. |
Updated to version 1.1.1-1, the situation is similar. myapp.s1-replica | LuajitError: /root/myapp/.rocks/share/tarantool/resty/rsa.lua:152: tarantool: undefined symbol: EVP_MD_CTX_new
myapp.s1-replica | fatal error, exiting the event loop
myapp.s2-master | LuajitError: /root/myapp/.rocks/share/tarantool/resty/rsa.lua:152: tarantool: undefined symbol: EVP_MD_CTX_new
myapp.s2-master | fatal error, exiting the event loop
myapp.s2-replica | LuajitError: /root/myapp/.rocks/share/tarantool/resty/rsa.lua:152: tarantool: undefined symbol: EVP_MD_CTX_new
myapp.s2-replica | fatal error, exiting the event loop
myapp.router | LuajitError: /root/myapp/.rocks/share/tarantool/resty/rsa.lua:152: tarantool: undefined symbol: EVP_MD_CTX_new
myapp.router | fatal error, exiting the event loop
myapp.s1-master | LuajitError: /root/myapp/.rocks/share/tarantool/resty/rsa.lua:152: tarantool: undefined symbol: EVP_MD_CTX_new
myapp.s1-master | fatal error, exiting the event loop
|
Since your OpenSSL is 1.0.2k, it should use EVP_MD_CTX_create instead of EVP_MD_CTX_new. I wonder why it goes to the EVP_MD_CTX_new branch. |
Maybe you can add some logs to debug it. Or maybe you can provide a reproducible example (for example, using a CentOS 7 dockerfile) so I can reproduce it by myself? The code chooses EVP_MD_CTX_create or EVP_MD_CTX_new hasn't been changed since 6 years ago. It has been working well for a long time. |
After running the project I get the following error:
./rocks/share/tarantool/resty/rsa.lua:152: tarantool init.lua: my-app@s1-replica: undefined symbol: EVP_MD_CTX_newl
Centos 7
OpenSSL 1.0.2k-fips 26 Jan 2017
openssl-devel package and openssl are installed.
The text was updated successfully, but these errors were encountered: