我试图在Ubuntu终端上安装Luasec,但是它一直向我显示这个错误:
Error: Could not find header file for OPENSSL
No file openssl/ssl.h in /usr/local/include
No file openssl.h/ssl.h/ in /usr/include
No file openssl/ssl.h in /include
You may have to install OPENSSL in your system and/or pass OPENSSL_DIR or OPENSSL_INCDIR to the luarocks command.当我检查OpenSSL版本时,它说它的1.1.1f

那我该怎么做?
发布于 2022-04-04 10:13:55
通过使用命令通过Luarocks安装带有终端的OpenSSL解决了这个问题:
Luarocks install openssl现在安装好后,它就能工作了。
发布于 2022-09-05 10:42:01
sudo apt -y install libssl-dev发布于 2022-09-09 08:35:12
尽管使用了小写l,但这个解决方案对我有效(独立于一些响应人员在这里告诉我的内容)。
luarocks install openssl
https://stackoverflow.com/questions/71734476
复制相似问题