admin管理员组

文章数量:1577825

环境: win10 + CentOS_7.7、ubuntu18

报错种类:

  • fatal error : readline/readline.h : No such file or directory…
  • Entering emergency mode, exit the shell to continue. Type “journalctl” to view systems logs…

一、解决报错问题: “fatal error : readline/readline.h : No such file or directory…”

前言: 鄙人是在编译某个开源C/C++工程的时候遇到此问题的,并且先后在XShell和CentOS上踩雷,很是令我欣慰。

解决方案:

1、ubuntu环境下:

sudo apt-get install libreadline-dev	// 回车后,输入root密码即可

2、CentOS环境下:

sudo yum -y 

本文标签: 完美fileEnteringEmergencyreadline