首页天道酬勤lua运行错误信息,thread方法有哪些

lua运行错误信息,thread方法有哪些

张世龙 05-12 20:06 28次浏览

我的linux操作系统是CentOS 7.3 64位

执行安装GCC的时候出现如下报错:

[root@VM_0_5_centos ~]# yum install -y gcc
error: rpmdb: BDB0113 Thread/process 20348/139621658765376 failed: BDB1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db5 -  (-30973)
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.main:

Error: rpmdb open failed
出现上面的报错是因为yum需要更新,yum更新失败解决办法: https://jingyan.baidu.com/article/b24f6c8296db07c6bee5da25.html

yum更新完之后,执行如下命令即可安装lua

yum install -y gcc
yum install libtermcap-devel ncurses-devel libevent-devel readline-devel
curl -R -O http://www.lua.org/ftp/lua-5.3.5.tar.gz
tar -zxf lua-5.3.5.tar.gz
cd lua-5.3.5
make linux test
make install

yum update 回退,yum安装apache I quit,bdb嵌入式数据库