ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 安装rlwrap-0.37.tar.gz报错You need the GNU readline library to build

安装rlwrap-0.37.tar.gz报错You need the GNU readline library to build

原创 Linux操作系统 作者:孤竹星 时间:2015-03-26 14:53:30 0 删除 编辑
安装rlwrap-0.37.tar.gz报错
安装步骤如下:
# wget http://utopia.knoware.nl/~hlub/rlwrap/rlwrap-0.37.tar.gz
# tar zxvf rlwrap-0.37.tar.gz
# cd rlwrap-0.37/
# ./configure
# make
# make install

但是在执行完./configure后报如下错误:
configure: WARNING: No termcap nor curses library found
checking for readline in -lreadline... no
configure: error: 
You need the GNU readline library(ftp://ftp.gnu.org/gnu/readline/ ) to build
this program!

原因是因为缺省了rpm包 
解决办法
#  yum -y install readline*
# ./configure 
# make
# make install

# vim /home/oracle/.bash_profile
在尾部添加:

alias sqlplus='rlwrap sqlplus'
alias rman='rlwrap rman'


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/28282660/viewspace-1474512/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: Linux 防火墙配置
请登录后发表评论 登录
全部评论

注册时间:2013-01-22

  • 博文量
    96
  • 访问量
    298368