lapis
lapis copied to clipboard
luarocks install lapis did not see installed openssl
Please see here: https://github.com/msys2/MINGW-packages/issues/17041#issuecomment-1528812280 I thought that the problem was with MSYS, but not:
I'm on Windows 10 Pro 64 bit, MSYS2/MINGW64,
I try to install there lua rocks:
luaossl luacrypto lapis
The lua packages and mingw-w64-x86_64-openssl are installed, but luarock can't install any lua package with openssl requirements, for example:
mlap@DESKTOP-3SBJLHO MINGW64 ~ $ luarocks install --global luaossl CRYPTO_DIR=/mingw64/ Installing https://luarocks.org/luaossl-20220711-0.src.rock
Error: Could not find library file for CRYPTO No file libssleay32.dll in C:/msys64/mingw64 No file libssleay32.dll in C:/msys64/mingw64/lib No file libssleay32.dll in C:/msys64/mingw64/bin No file libssleay32.dll.a in C:/msys64/mingw64 No file libssleay32.dll.a in C:/msys64/mingw64/lib No file libssleay32.dll.a in C:/msys64/mingw64/bin No file ssleay32.dll.a in C:/msys64/mingw64 No file ssleay32.dll.a in C:/msys64/mingw64/lib No file ssleay32.dll.a in C:/msys64/mingw64/bin No file libssleay32.a in C:/msys64/mingw64 No file libssleay32.a in C:/msys64/mingw64/lib No file libssleay32.a in C:/msys64/mingw64/bin No file ssleay32.dll in C:/msys64/mingw64 No file ssleay32.dll in C:/msys64/mingw64/lib No file ssleay32.dll in C:/msys64/mingw64/bin No file ssleay32.lib in C:/msys64/mingw64 No file ssleay32.lib in C:/msys64/mingw64/lib No file ssleay32.lib in C:/msys64/mingw64/bin No file matching libssleay32.so.* in C:/msys64/mingw64 No file matching libssleay32.so.* in C:/msys64/mingw64/lib No file matching libssleay32.so.* in C:/msys64/mingw64/bin You may have to install CRYPTO in your system and/or pass CRYPTO_DIR or CRYPTO_LIBDIR to the luarock s command. Example: luarocks install luaossl CRYPTO_DIR=/usr/local
The REPLY from MSYS is:
"The project is trying to link with older openssl libraries. libeay32.dll and ssleay32.dll was replaced with libcrypto*.dll and libssl*.dll. The issue is not related to luarocks or lua project."
SO, is it possible to use lapis (and all Lua openssl bindings) with new versions of openssl?