VPS侦探论坛

 找回密码
 注册
查看: 2195|回复: 5

lnmp1.9-full 安装mysql8.0失败

[复制链接]
发表于 2022-7-29 15:28:00 | 显示全部楼层 |阅读模式

操作系统:统信服务器欧拉版V20 1050e  arm64
主机规格:鲲鹏920 8核、16G、600G


使用 ./install.sh db 安装 mysql 8.0 失败 ,附件为日志


  1. <div>[  1%] Building CXX object extra/protobuf/protobuf-3.19.4/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/any.pb.cc.o
  2. /usr/local/src/lnmp1.9-full/src/mysql-8.0.29/extra/protobuf/protobuf-3.19.4/src/google/protobuf/any.pb.cc: 在构造函数‘constexpr google::protobuf::AnyDefaultTypeInternal::AnyDefaultTypeInternal()’中:
  3. /usr/local/src/lnmp1.9-full/src/mysql-8.0.29/extra/protobuf/protobuf-3.19.4/src/google/protobuf/any.pb.cc:27:76: 错误:temporary of non-literal type ‘google::protobuf::Any’ in a constant expression
  4.      : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
  5.                                                                             ^
  6. In file included from /usr/local/src/lnmp1.9-full/src/mysql-8.0.29/extra/protobuf/protobuf-3.19.4/src/google/protobuf/any.pb.cc:4:0:
  7. /usr/local/src/lnmp1.9-full/src/mysql-8.0.29/extra/protobuf/protobuf-3.19.4/src/google/protobuf/any.pb.h:68:23: 附注:‘google::protobuf::Any’ is not literal because:
  8. class PROTOBUF_EXPORT Any final :
  9.                        ^~~
  10. /usr/local/src/lnmp1.9-full/src/mysql-8.0.29/extra/protobuf/protobuf-3.19.4/src/google/protobuf/any.pb.h:68:23: 附注:  ‘google::protobuf::Any’ has a non-trivial destructor
  11. make[2]: *** [extra/protobuf/protobuf-3.19.4/cmake/CMakeFiles/libprotobuf.dir/build.make:492:extra/protobuf/protobuf-3.19.4/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/any.pb.cc.o] 错误 1
  12. make[2]: 离开目录“/usr/local/src/lnmp1.9-full/src/mysql-8.0.29/build”
  13. make[1]: *** [CMakeFiles/Makefile2:6592:extra/protobuf/protobuf-3.19.4/cmake/CMakeFiles/libprotobuf.dir/all] 错误 2
  14. make[1]: 离开目录“/usr/local/src/lnmp1.9-full/src/mysql-8.0.29/build”
  15. make: *** [Makefile:163:all] 错误 2</div>
复制代码


美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2022-7-29 15:32:51 | 显示全部楼层


上传 7z 提示不支持,上传 zip 提示有敏感词,改了几次后提示没有上传次数
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2022-7-29 20:19:37 | 显示全部楼层

Jeremy 发表于 2022-7-29 15:32
上传 7z 提示不支持,上传 zip 提示有敏感词,改了几次后提示没有上传次数 ...

没有arm64的设备不清楚兼容性,甲骨文aarch64测试是没有问题的

问题反馈必读要求上传指定网盘
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2022-7-29 21:20:49 | 显示全部楼层



licess 发表于 2022-7-29 20:19
没有arm64的设备不清楚兼容性,甲骨文aarch64测试是没有问题的

按问题反馈必读要求上传指定网盘 ...

安装myql 5.7与 mariadb 10.6都正常,只有装mysql 8.0出错

日志:https://t.wss.ink/f/8x0g863qdhn 复制链接到浏览器打开
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2022-7-30 14:25:41 | 显示全部楼层

Jeremy 发表于 2022-7-29 21:20
安装myql 5.7与 mariadb 10.6都正常,只有装mysql 8.0出错

日志:https://t.wss.ink/f/8x0g863qdhn 复 ...

应该是gcc 7.3版本bug导致的,可以尝试升级到gcc 8.x或更高版本后再安装

军哥运维代购:http://shop63846532.taobao.com/

 楼主| 发表于 2022-8-3 14:25:19 | 显示全部楼层

licess 发表于 2022-7-30 14:25
应该是gcc 7.3版本bug导致的,可以尝试升级到gcc 8.x或更高版本后再安装

今天测试修改默认mysql8.0.29版本为mysql8.0.28安装成功

https://t.wss.ink/f/8ycvlbydd57 复制链接到浏览器打开
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-20 10:43 , Processed in 0.026442 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表