On aarch64 system (ubuntu focal) following happens:
Installing https://luarocks.org/luaossl-20200709-0.src.rock
Error: Failed installing dependency: https://luarocks.org/luaossl-20200709-0.src.rock - Could not find library file for CRYPTO
No file libcrypto.a in /usr/lib
No file libcrypto.a in /usr/lib/x86_64-linux-gnu
No file libcrypto.so in /usr/lib
No file libcrypto.so in /usr/lib/x86_64-linux-gnu
No file matching libcrypto.so.* in /usr/lib
No file matching libcrypto.so.* in /usr/lib/x86_64-linux-gnu
You may have to install CRYPTO in your system and/or pass CRYPTO_DIR or CRYPTO_LIBDIR to the luarocks command.
It looks like it tries to specifically find x84_64 binaries, but missed existing ones aarch64:
Workaround is below, but would be cool to get it automatically discovered:
luarocks luaossl 20190731-0 CRYPTO_LIBDIR=/usr/lib/aarch64-linux-gnu/ OPENSSL_LIBDIR=/usr/lib/aarch64-linux-gnu/
On aarch64 system (ubuntu focal) following happens:
It looks like it tries to specifically find x84_64 binaries, but missed existing ones aarch64:
Workaround is below, but would be cool to get it automatically discovered:
luarocks luaossl 20190731-0 CRYPTO_LIBDIR=/usr/lib/aarch64-linux-gnu/ OPENSSL_LIBDIR=/usr/lib/aarch64-linux-gnu/