Open meguoe opened 5 months ago
我遇到跟你一样的情况,编译OpenSSL-Compatibility-Layer-0.8.1需要依赖gmssl 因为我是自定义安装的gmssl,导致编译时找不到gmssl 我是通过修改OpenSSL-Compatibility-Layer-0.8.1根目录的CMakeLists.txt解决 具体改的是如下两项: include_directories(${PROJECT_SOURCE_DIR}/include /usr/local/include) link_directories(/usr/local/lib) ---------------------------> include_directories(${PROJECT_SOURCE_DIR}/include /home/GM/GmSSL/GmSSL-3.1.1-install/include) link_directories(/home/GM/GmSSL/GmSSL-3.1.1-install/lib)
/usr/local/include 和 /usr/local/lib 是默认安装路径
希望对你有所帮助
当前的最新版本是和当前最新的gmssl (5b3c897d0e3f09acd68d17d7a586af7f517be29a)配套的,二者都使用重新编译的方式安装,就不会有这样的问题了,你这之后估计还有版本不匹配的问题
readme和makefile有点坑
readme和makefile有点坑
请问下这个支持密码卡的sdf接口的ssl吗?
readme和makefile有点坑 请问下这个支持密码卡的sdf接口的ssl吗?
抱歉,我没接触过你说的 “密码卡的sdf接口”,因此不能给你准确的回答,需要你自己尝试
Scanning dependencies of target crypto [ 9%] Building C object CMakeFiles/crypto.dir/src/err.c.o [ 18%] Building C object CMakeFiles/crypto.dir/src/bio.c.o /opt/OpenSSL-Compatibility-Layer-0.8.1/src/bio.c:14:25: fatal error: gmssl/error.h: No such file or directory
include <gmssl/error.h>