hx214433 发表于 2019-9-26 12:07:44

安装MariaDB 10.3数据库失败

在树莓派4b 4g内存上单独安装MariaDB 10.3出现错误,而安装lnmpa时选择不安装数据库可以成功
系统是树莓派官方32位系统

licess 发表于 2019-9-26 16:53:28

/usr/include/c++/8/bits/atomic_base.h:396: undefined reference to `__atomic_load_8'
/usr/bin/ld: librocksdblib.a(pessimistic_transaction.cc.o): in function `rocksdb::PessimisticTransaction::GenTxnID()':
/usr/include/c++/8/bits/atomic_base.h:514: undefined reference to `__atomic_fetch_add_8'
/usr/bin/ld: librocksdblib.a(write_unprepared_txn.cc.o): in function `rocksdb::WriteUnpreparedTxnReadCallback::IsVisible(unsigned long long)':
/usr/include/c++/8/bits/atomic_base.h:396: undefined reference to `__atomic_load_8'
collect2: error: ld returned 1 exit status

有可能raspbian 10上的gcc版本不适合mariadb 10.3
页: [1]
查看完整版本: 安装MariaDB 10.3数据库失败