keyman 发表于 2020-6-4 21:53:47

安装lnmp1.7 MySQL失败

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

日志:
http://tmp.link/f/5ed8fcd80c3f6
请大大看看,万分感谢

licess 发表于 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: *** 错误 1
make: *** 错误 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: *** 错误 1
make: *** 错误 2
可以参考:https://bbs.vpser.net/thread-19261-1-1.html 这个方法试试

keyman 发表于 2020-6-8 11:37:43

谢谢大大,但是还是无法解决,最终选择默认的mysql版本完成安装
页: [1]
查看完整版本: 安装lnmp1.7 MySQL失败