VPS侦探论坛

 找回密码
 注册
查看: 175|回复: 2

安装lnmp1.7 MySQL失败

[复制链接]
发表于 2020-6-4 21:53:47 | 显示全部楼层 |阅读模式



raspberryPi 4B ,安装过程中Mysql部分不断报错

日志:
http://tmp.link/f/5ed8fcd80c3f6
请大大看看,万分感谢
美国VPS推荐: 遨游主机LinodeLOCVPSKVMLAVPS2EZ搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2020-6-5 09:06:49 | 显示全部楼层


/usr/include/c++/8/bits/atomic_base.h:374: undefined reference to `__atomic_store_8'
/usr/bin/ld: ../libperfschema.a(pfs.cc.o): in function `pfs_end_statement_v2(PSI_statement_locker*, void*)':
/usr/include/c++/8/bits/atomic_base.h:396: undefined reference to `__atomic_load_8'
/usr/bin/ld: /usr/include/c++/8/bits/atomic_base.h:514: undefined reference to `__atomic_fetch_add_8'
/usr/bin/ld: /usr/include/c++/8/bits/atomic_base.h:514: undefined reference to `__atomic_fetch_add_8'
/usr/bin/ld: /usr/include/c++/8/bits/atomic_base.h:514: undefined reference to `__atomic_fetch_add_8'
/usr/bin/ld: /usr/include/c++/8/bits/atomic_base.h:374: undefined reference to `__atomic_store_8'
/usr/bin/ld: ../../../archive_output_directory/libmysys.a(my_rdtsc.cc.o): in function `my_timer_microseconds()':
/usr/include/c++/8/bits/atomic_base.h:374: undefined reference to `__atomic_store_8'
/usr/bin/ld: /usr/include/c++/8/bits/atomic_base.h:396: undefined reference to `__atomic_load_8'
/usr/bin/ld: /usr/include/c++/8/bits/atomic_base.h:514: undefined reference to `__atomic_fetch_add_8'
collect2: error: ld returned 1 exit status
make[2]: *** [storage/perfschema/unittest/CMakeFiles/pfs_account-oom-t.dir/build.make:99:runtime_output_directory/pfs_account-oom-t] 错误 1
make[1]: *** [CMakeFiles/Makefile2:3253:storage/perfschema/unittest/CMakeFiles/pfs_account-oom-t.dir/all] 错误 2
。。。。。
[ 36%] Linking CXX executable ../../../../runtime_output_directory/protoc
/usr/bin/ld: ../../../../library_output_directory/libprotobuf.so.3.6.1: undefined reference to `__atomic_fetch_add_8'
collect2: error: ld returned 1 exit status
make[2]: *** [extra/protobuf/protobuf-3.6.1/cmake/CMakeFiles/protoc.dir/build.make:87:runtime_output_directory/protoc] 错误 1
make[1]: *** [CMakeFiles/Makefile2:1232:extra/protobuf/protobuf-3.6.1/cmake/CMakeFiles/protoc.dir/all] 错误 2

可以参考:https://bbs.vpser.net/thread-19261-1-1.html 这个方法试试
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2020-6-8 11:37:43 | 显示全部楼层



谢谢大大,但是还是无法解决,最终选择默认的mysql版本完成安装
美国VPS推荐: 遨游主机LinodeLOCVPSKVMLAVPS2EZ搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2020-7-2 14:17 , Processed in 0.048183 second(s), 26 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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