Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Tidy up-install rlwrap to realize the callback function of sqlplus history commands under Oracle

2025-03-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Install rlwrap compiler has been reporting an error You need the GNU readline library (ftp://ftp.gnu.org/gnu/readline/) to build this program!

A check that the system has been installed with readline, really can not find the problem.

Later, an online search found that the installation of rlwrap needs to rely on two packages, one is that readline,readline has been integrated in redhat. There is no need for special download and installation, another package libtermcap-devel

After configuring yum

Yum-y install readline* libtermcap-devel*

Readline will remind you that it has been installed. Never mind.

Install rlwrap directly after completion (attachment)

# tar xvf rlwrap-0.37.tar.gz# cd rlwrap-0.37#. / configure & & make & & make install

Add a line to the oracle environment variable after the installation is complete

# vim / home/oracle/.bash_profile

Alias sqlplus='rlwrap sqlplus'

After the configuration is complete, you can log in again using the oracle user.

Attachment: http://down.51cto.com/data/2367214

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report