rlwrap安装之后无法使用

安装完rlwrap软件包之后,修改sqlplus命令的别名

[[email protected] ~]$ vim .bashrc

alias sqlplus=‘rlwrap sqlplus‘

alias sql=‘rlwrap sqlplus‘

alias lsnrctl=‘rlwrap lsnrctl‘

alias rman=‘rlwrap rman‘

登录数据库无法登录

[[email protected] ~]$ sqlplus / as sysdba

rlwrap: error while loading shared libraries: libreadline.so.5: cannot open shared object file: No such file or directory

没有找到libreadline.so.5库,需安装libreadline.so.5

安装库文件

[[email protected] Packages]# yum install compat-readline5 -y

安装之后再登录数据库

[[email protected] ~]$ sqlplus / as sysdba

rlwrap: error while loading shared libraries: libtermcap.so.2: cannot open shared object file: No such file or directory

缺少libtermcap.so.2库,安装compat-libtermcap包:

[[email protected] Packages]# yum install compat-libtermcap -y

安装完之后,再次登录

[[email protected] Packages]# su - oracle

[[email protected] ~]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on Sun Nov 1 15:39:54 2015

Copyright (c) 1982, 2009, Oracle.  All rights reserved.

Connected to an idle instance.

SQL>

登录成功

时间: 2024-08-30 01:22:20

rlwrap安装之后无法使用的相关文章

rlwrap安装报错You need the GNU readline 解决方法

首先大家肯定知道rlwrap是干什么的? 在linux以及unix中,sqlplus的上下左右.回退无法使用,会出现乱码情况.而rlwrap这个软件就是用来解决这个的. 这个错误曾经困扰我很久很久!下载readline 安装,安装好readline 还是无法运行rlwrap的安装程序 在网上搜寻很久才找到一个靠谱的解决方法 原来rlwrap这个程序的安装,需要依赖两个包, 一个是readline,这个readline在RHEL中已经集成了.不需要去专门下载 另外一个包 libtermcap-de

Error 25007.初始化合成时发生错误。安装程序无法使用 LoadLibraryShim() 加载合成。

安装"Microsoft .NET Framework 2.exe"报错如下: c:\windows\microsoft.net\framework\...类似这种错误都因 .NET Framework受到损害.有一部分程序将无法使用.微软输入法也将瘫痪... ---------------------------Microsoft .NET Framework 2.0 安装程序---------------------------Error 25007.初始化合成时发生错误.安装程序

【转载】sqlplus中上下方向键回调历史命令--rlwrap安装

rlwrap 可用来支持Oracle下sqlplus历史命令的回调功能,提高效率. 1.下载 从http://utopia.knoware.nl/~hlub/uck/rlwrap/下载rlwrap-0.37.tar.gz,然后上传到相应目录 0.37版本在redhat6上安装的时候会报没有依赖包,其实是高版本的依赖包软件找不到,不想摆弄了.我在网上其他地方搜了一个 rlwrap-0.42,可以在redhat6上直接装. 2.安装 2.1主要步骤是: ./configure make make i

MATLAB安装libsvm无法使用解决办法(转)

buaasuozi  这是原作者: 安装libsvm 不成功有可能是你的MATLAB版本或者是编译文件版本的问题,但是不要急着换其他版本....说不定就有别的解决办法呢 首先感谢Lin教授及其实验室提供的libsvm工具箱,原始下载地址:下载主页:http://www.csie.ntu.edu.tw/~cjlin/libsvm/       下载地址:http://www.csie.ntu.edu.tw/~cjlin/libsvm/#download 原本我使用的是libsvm-3.01版本,但

CentOS7安装后无法使用鼠标选中

运行命令:yum install gpm*  安装gpm 启动gpm服务:service gpm start 运行systemctl enable gpm.servicere 添加到后台服务. 备注:CentOS7服务使用方法 服务使用方法systemctl start [服务文件名]systemctl restart [服务文件名]systemctl stop [服务文件名]systemctl status [服务文件名]设置开机启动systemctl enable [服务文件名]system

Visual Studio扩展与更新中插件被禁用,安装后无法使用

在Visual Studio中的扩展与更新中安装插件后,显示[禁用],重新安装后仍然不能使用,但是VS默认安装的扩展却可以正常使用. 这里需要注意下方显示“当前不允许加载每用户扩展”,点击“启用每用户拓展的加载”,显示如下窗体: 勾选以管理员身份加载每用户扩展,然后重新启动VS,问题解决.

oracle 11g sql developer安装后无法使用

oracle11g安装后出现 再去官网单独下来个sql developer安装 sql developer需要jre支持

Linux下安装pip无法使用的情况

不知道有没有安装成功,首先先卸载软件 sudo apt-get purge --auto-remove python3-pip sudo apt-get update 然后在重新安装 sudo apt-get install python3-pip 此时查看自己安装pip的版本 pip3 --version 方法有点简单粗暴了,刚开始一直在试 pip --version 后来才发现原来是pip3 原文地址:https://www.cnblogs.com/sawyer22/p/10311329.h

CentOS7安装后无法使用鼠标选中,复制问题解决

出现这种情况,一般是没有安装linux的鼠标服务器gpm gpm命令 是Linux的虚拟控制台下的鼠标服务器,用于在虚拟控制台下实现鼠标复制和粘贴文本的功能. 具体操作: 运行命令:yum install gpm*  安装gpm 启动gpm服务:service gpm start 运行systemctl enable gpm.servicere 添加到后台服务. 备注:CentOS7服务使用方法 服务使用方法systemctl start [服务文件名]systemctl restart [服务