debian 9.1 安装lnmpa 1.4 时mariadb失败
VirtualBox 5.1.26 r117224 (Qt5.6.2)debian 9.1 64bit
反馈给开发者 Building CXX object mysys_ssl/CMakeFiles/mysys_ssl.dir/my_md5.cc.o
/home/lbr/lnmp1.4/src/mariadb-10.1.23/mysys_ssl/my_md5.cc: In function ‘void md5_result(MD5_CONTEXT*, uchar*)’:
/home/lbr/lnmp1.4/src/mariadb-10.1.23/mysys_ssl/my_md5.cc:86:29: error: ‘EVP_MD_CTX_cleanup’ was not declared in this scope
EVP_MD_CTX_cleanup(context);
^
/home/lbr/lnmp1.4/src/mariadb-10.1.23/mysys_ssl/my_md5.cc: In function ‘void my_md5(uchar*, const char*, size_t)’:
/home/lbr/lnmp1.4/src/mariadb-10.1.23/mysys_ssl/my_md5.cc:102:15: error: aggregate ‘MD5_CONTEXT md5_context’ has incomplete type and cannot be defined
MD5_CONTEXT md5_context;
^~~~~~~~~~~
/home/lbr/lnmp1.4/src/mariadb-10.1.23/mysys_ssl/my_md5.cc: In function ‘void my_md5_multi(uchar*, ...)’:
/home/lbr/lnmp1.4/src/mariadb-10.1.23/mysys_ssl/my_md5.cc:127:15: error: aggregate ‘MD5_CONTEXT md5_context’ has incomplete type and cannot be defined
MD5_CONTEXT md5_context;
^~~~~~~~~~~
/home/lbr/lnmp1.4/src/mariadb-10.1.23/mysys_ssl/my_md5.cc: In function ‘size_t my_md5_context_size()’:
/home/lbr/lnmp1.4/src/mariadb-10.1.23/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:8597: recipe for target 'mysys_ssl/CMakeFiles/mysys_ssl.dir/all' failed
make: *** Error 2
Makefile:160: recipe for target 'all' failed
mariadb 10.1 目前不支持openssl 1.1,可以尝试安装mariadb 10.2 或 mysql 5.6 或 5.7 感谢!!支持作者!~~
这个是我在本地环境下安装的,最新的debian9.1,生产环境debian8.9没问题(openssl 1.0.1),估计是openssl太新了。我看目前最新的是openssl 1.1.1,建议作者在lnmp脚本包中包含一下检测,或者升级到mariadb 10.2。
[ 本帖最后由 鲤鱼 于 2017-8-20 22:33 编辑 ]
回复 3# 的帖子
这个没办法只能等mariadb支持到openssl 1.1,mariadb 10.2 目前只能通过升级方式来安装未正式支持应该还是安装脚本有问题
再次给开发者反馈:我重装系统后,全新单独安装mariadb 10.1正常,在重新系统之前,重装,单独安装,删除重装mariadb10.1都是错误状态,在不同主机,虚拟机里都试过,不能正常安装。
系统环境还是debian9.1 64bit, openssl 1.1.0 经过在本地各种偿试,应该是debian9.1目前有bug,安装lnmp中集成的 mariadb会出错,可以偿试,先安装 lnmp 时选mysql,再能过update.sh 升到 10.2.8,完美!
[ 本帖最后由 鲤鱼 于 2017-8-26 03:57 编辑 ]
页:
[1]