Debian9(OpenSSL版本1.1.0e)数据库编译失败
/root/lnmp1.4/src/mariadb-10.2.5/mysys_ssl/my_md5.cc: In function ‘void md5_result(MD5_CONTEXT*, uchar*)’:/root/lnmp1.4/src/mariadb-10.2.5/mysys_ssl/my_md5.cc:86:29: error: ‘EVP_MD_CTX_cleanup’ was not declared in this scope
EVP_MD_CTX_cleanup(context);
^
/root/lnmp1.4/src/mariadb-10.2.5/mysys_ssl/my_md5.cc: In function ‘void my_md5(uchar*, const char*, size_t)’:
/root/lnmp1.4/src/mariadb-10.2.5/mysys_ssl/my_md5.cc:102:15: error: aggregate ‘MD5_CONTEXT md5_context’ has incomplete type and cannot be defined
MD5_CONTEXT md5_context;
^~~~~~~~~~~
/root/lnmp1.4/src/mariadb-10.2.5/mysys_ssl/my_md5.cc: In function ‘void my_md5_multi(uchar*, ...)’:
/root/lnmp1.4/src/mariadb-10.2.5/mysys_ssl/my_md5.cc:127:15: error: aggregate ‘MD5_CONTEXT md5_context’ has incomplete type and cannot be defined
MD5_CONTEXT md5_context;
^~~~~~~~~~~
/root/lnmp1.4/src/mariadb-10.2.5/mysys_ssl/my_md5.cc: In function ‘size_t my_md5_context_size()’:
/root/lnmp1.4/src/mariadb-10.2.5/mysys_ssl/my_md5.cc:140:28: error: invalid application of ‘sizeof’ to incomplete type ‘MD5_CONTEXT {aka evp_md_ctx_st}’
return sizeof(MD5_CONTEXT);
^
mysys_ssl/CMakeFiles/mysys_ssl.dir/build.make:182: recipe for target 'mysys_ssl/CMakeFiles/mysys_ssl.dir/my_md5.cc.o' failed
make: *** Error 1
CMakeFiles/Makefile2:11657: recipe for target 'mysys_ssl/CMakeFiles/mysys_ssl.dir/all' failed
make: *** Error 2
Makefile:160: recipe for target 'all' failed
make: *** Error 2 这个是mariadb 10.2与openssl 1.1.0的兼容性问题 原帖由 licess 于 2017-5-28 19:33 发表 http://bbs.vpser.net/images/common/back.gif
这个是mariadb 10.2与openssl 1.1.0的兼容性问题 只能用10.3么
回复 3# 的帖子
看changelog10.2.6是支持的吧 原帖由 licess 于 2017-5-29 07:35 发表 http://bbs.vpser.net/images/common/back.gif看changelog10.2.6是支持的吧 OK,已成功,下次更新脚本加提示说明OpenSSL1.1的系统请使用PHP7.1.5和MariaDB 10.2.6
另外,FreeBSD下编译除数据库以外的东西都已测试通过
页:
[1]