-
Notifications
You must be signed in to change notification settings - Fork 51
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
Failed compiling object src/openssl.o #175
Comments
OpenSSL 1.1.1 shouldn't have the kdf type: are you running some weird openssl variant with kdf backported from 1.2.0? |
Im just using the one from Fedoras repos
|
Looks like they backported kdf and broke API: https://src.fedoraproject.org/rpms/openssl/blob/HEAD/f/openssl.spec#_63 You might be able to work around it by passing |
That worked! Thank you. |
We needed to backport the EVP_KDF support for use in OpenSSH and libssh to 1.1.1. I do not see how "we broke the API". |
The issue is that we also backported it in luaossl, with the backport active if the openssl version number is < 1.2.0. Is there a different check you'd recommend? |
You could check by |
This is a fix to build luaossl with openssl 1.1.1. Related issue: wahern/luaossl#175 Signed-off-by: Eloy Coto <eloy.coto@gmail.com>
This is a fix to build luaossl with OpenSSL 1.1.1. Related issue: wahern/luaossl#175 Signed-off-by: Eloy Coto <eloy.coto@gmail.com>
This is a fix to build luaossl with OpenSSL 1.1.1. Related issue: wahern/luaossl#175 Signed-off-by: Eloy Coto <eloy.coto@gmail.com>
This is a fix to build luaossl with OpenSSL 1.1.1. Related issue: wahern/luaossl#175 Signed-off-by: Eloy Coto <eloy.coto@gmail.com>
This is a fix to build luaossl with OpenSSL 1.1.1. Related issue: wahern/luaossl#175 Signed-off-by: Eloy Coto <eloy.coto@gmail.com>
This is a fix to build luaossl with OpenSSL 1.1.1. Related issue: wahern/luaossl#175 Signed-off-by: Eloy Coto <eloy.coto@gmail.com>
This is a fix to build luaossl with OpenSSL 1.1.1. Related issue: wahern/luaossl#175 Signed-off-by: Eloy Coto <eloy.coto@gmail.com>
This is a fix to build luaossl with OpenSSL 1.1.1. Related issue: wahern/luaossl#175 Signed-off-by: Eloy Coto <eloy.coto@gmail.com>
This is a fix to build luaossl with OpenSSL 1.1.1. Related issue: wahern/luaossl#175 Signed-off-by: Eloy Coto <eloy.coto@gmail.com>
This is a fix to build luaossl with OpenSSL 1.1.1. Related issue: wahern/luaossl#175 Signed-off-by: Eloy Coto <eloy.coto@gmail.com>
This is a fix to build luaossl with OpenSSL 1.1.1. Related issue: wahern/luaossl#175 Signed-off-by: Eloy Coto <eloy.coto@gmail.com>
This is a fix to build luaossl with OpenSSL 1.1.1. Related issue: wahern/luaossl#175 Signed-off-by: Eloy Coto <eloy.coto@gmail.com>
This is a fix to build luaossl with OpenSSL 1.1.1. Related issue: wahern/luaossl#175 Signed-off-by: Eloy Coto <eloy.coto@gmail.com>
This is a fix to build luaossl with OpenSSL 1.1.1. Related issue: wahern/luaossl#175 Signed-off-by: Eloy Coto <eloy.coto@gmail.com>
This is a fix to build luaossl with OpenSSL 1.1.1. Related issue: wahern/luaossl#175 Signed-off-by: Eloy Coto <eloy.coto@gmail.com>
This is a fix to build luaossl with OpenSSL 1.1.1. Related issue: wahern/luaossl#175 Signed-off-by: Eloy Coto <eloy.coto@gmail.com>
Is it already fixed? When will it be released? Or please tell me how can I work around this? I have the same problem on centos 7, lua 5.1.4, OpenSSL 1.1.1c FIPS. I'm trying this:
What am I doing wrong? |
@daurnimator, please answer |
I consider fedora's backport to be the bug here.
set
You are probably overriding your luarocks config which sets CFLAGS to e.g. |
Having the same issue trying to build a Docker image, unsure how to resolve this. Edit: Edit 2: Building works but when I try to run my app I get Edit 3: I was able to solve the issue by also using openresty's openssl-devel rpm module and building Luaossl against that: RUN yum -y install openresty-openssl-devel
RUN luarocks install lapis CRYPTO_DIR=/usr/local/openresty/openssl CRYPTO_INCDIR=/usr/local/openresty/openssl/include OPENSSL_DIR=/usr/local/openresty/openssl OPENSSL_INCDIR=/usr/local/openresty/openssl/include It would seem to me, however, that the ideal solution here would be for Luaossl to check if the OpenSSL lib it is being built against already has EVP_KDF available instead of assuming it does not. |
is there a planned fix for this? or at least get the patches from the fedora folks, they have the luaossl lib in their repos. |
FWIW I have pushed the 20200709 luaossl version in my LuaRocks namespace with the following patch:
Assuming your C compiler understands the |
Hmmm while that works on Fedora, it does not work on Ubuntu. It's probably not the right way to check, sorry about that. |
This fixed it for me on Mageia 8. Thanks, @karai17 ! |
I'm afraid this proposed solution will now cause a different issue with OpenSSL 1.1.1. Lines 624 to 626 in 247c0d9
and because |
Hi |
Yes, is there any fix for that ? All solutions above are not working (Opensuse 15.3, openssl 1.1.1). Any other hints or ideas ? |
OS: Fedora 31
luarocks: 3.0.3
openssl: 1.1.1
The text was updated successfully, but these errors were encountered: