rlwrap: error while loading shared libraries: libreadline.so.6

rlwrap: error while loading shared libraries: libreadline.so.6

[root@orcl ~]# find /  -iname libreadline.so.8
/usr/local/lib/libreadline.so.8
[root@orcl ~]# ll /usr/local/lib
total 5176
-rw-r--r--. 1 root root  205938 Feb 29 13:19 libhistory.a
-rw-r--r--. 1 root root  205938 Feb 29 12:45 libhistory.old
lrwxrwxrwx. 1 root root      15 Feb 29 13:19 libhistory.so -> libhistory.so.8
lrwxrwxrwx. 1 root root      17 Feb 29 13:19 libhistory.so.8 -> libhistory.so.8.0
-rwxr-xr-x. 1 root root  133568 Feb 29 13:19 libhistory.so.8.0
-rwxr-xr-x. 1 root root  133568 Feb 29 12:45 libhistory.so.8.0.old
-rw-r--r--. 1 root root 1458394 Feb 29 13:19 libreadline.a
-rw-r--r--. 1 root root 1458594 Feb 29 12:45 libreadline.old
lrwxrwxrwx. 1 root root      16 Feb 29 13:19 libreadline.so -> libreadline.so.8
lrwxrwxrwx. 1 root root      18 Feb 29 13:19 libreadline.so.8 -> libreadline.so.8.0
-rwxr-xr-x. 1 root root  842000 Feb 29 13:19 libreadline.so.8.0
-rwxr-xr-x. 1 root root  841968 Feb 29 12:45 libreadline.so.8.0.old
drwxr-xr-x. 2 root root      25 Feb 29 13:19 pkgconfig
[root@orcl ~]# ll /usr/lib
lib/     lib64/   libexec/ 
[root@orcl ~]# ll /usr/lib64
total 83504
drwxr-xr-x.  2 root root      28 Feb 29 06:40 audit
drwxr-xr-x.  2 root root     254 Feb 29 06:40 bind9-export
lrwxrwxrwx.  1 root root      36 Feb 29 14:10 cracklib_dict.hwm -> ../../usr/share/cracklib/pw_dict.hwm
lrwxrwxrwx.  1 root root      36 Feb 29 14:10 cracklib_dict.pwd -> ../../usr/share/cracklib/pw_dict.pwd
lrwxrwxrwx.  1 root root      36 Feb 29 14:10 cracklib_dict.pwi -> ../../usr/share/cracklib/pw_dict.pwi
-rw-r--r--.  1 root root    1872 Aug  6  2019 crt1.o
-rw-r--r--.  1 root root    1248 Aug  6  2019 crti.o
-rw-r--r--.  1 root root     648 Aug  6  2019 crtn.o
drwxr-xr-x.  2 root root      39 Feb 29 06:41 dbus-1
dr-xr-xr-x.  2 root root     201 Feb 29 06:41 device-mapper
drwxr-xr-x.  2 root root    4096 Feb 29 14:11 ebtables
drwxr-xr-x.  2 root root    4096 Feb 29 06:43 elfutils
drwxr-xr-x.  2 root root     179 Feb 29 06:42 fipscheck
dr-xr-xr-x.  2 root root       6 Apr 11  2018 games
drwxr-xr-x.  2 root root    8192 Feb 29 06:40 gconv
-rw-r--r--.  1 root root    2440 Aug  6  2019 gcrt1.o
drwxr-xr-x.  3 root root      20 Feb 29 07:27 gdk-pixbuf-2.0
drwxr-xr-x.  2 root root      92 Feb 29 14:11 gettext
drwxr-xr-x.  3 root root      21 Aug  8  2019 gio
drwxr-xr-x.  2 root root    4096 Feb 29 07:27 girepository-1.0
drwxr-xr-x.  3 root root      17 Feb 29 07:25 golang
drwxr-xr-x.  5 root root      52 Feb 29 07:27 gtk-2.0
drwxr-xr-x.  3 root root      21 Sep 13 14:05 krb5
-rwxr-xr-x.  1 root root  163400 Aug  6  2019 ld-2.17.so
lrwxrwxrwx.  1 root root      10 Feb 29 06:40 ld-linux-x86-64.so.2 -> ld-2.17.so
lrwxrwxrwx.  1 root root      15 Feb 29 14:10 libacl.so.1 -> libacl.so.1.1.0
-rwxr-xr-x.  1 root root   37056 Apr 10  2018 libacl.so.1.1.0
lrwxrwxrwx.  1 root root      22 Feb 29 14:11 libaio.so.1 -> /lib64/libaio.so.1.0.1
-rwxr-xr-x.  1 root root    6264 Nov 20  2015 libaio.so.1.0.0
-rwxr-xr-x.  1 root root    6264 Nov 20  2015 libaio.so.1.0.1
-rwxr-xr-x.  1 root root   19840 Aug  6  2019 libanl-2.17.so
lrwxrwxrwx.  1 root root      23 Feb 29 07:25 libanl.so -> ../../lib64/libanl.so.1
lrwxrwxrwx.  1 root root      14 Feb 29 06:40 libanl.so.1 -> libanl-2.17.so
-rwxr-xr-x.  1 root root   32912 Aug  8  2019 libasm-0.176.so
lrwxrwxrwx.  1 root root      15 Feb 29 06:41 libasm.so.1 -> libasm-0.176.so
....
.....
lrwxrwxrwx.  1 root root      16 Feb 29 07:27 libXtst.so.6 -> libXtst.so.6.1.0
-rwxr-xr-x.  1 root root   24112 Aug  2  2017 libXtst.so.6.1.0
lrwxrwxrwx.  1 root root      19 Feb 29 07:27 libXxf86vm.so.1 -> libXxf86vm.so.1.0.0
-rwxr-xr-x.  1 root root   23696 Aug  2  2017 libXxf86vm.so.1.0.0
lrwxrwxrwx.  1 root root      13 Feb 29 07:25 libz.so -> libz.so.1.2.7
lrwxrwxrwx.  1 root root      13 Feb 29 06:40 libz.so.1 -> libz.so.1.2.7
-rwxr-xr-x.  1 root root   90248 Oct 30  2018 libz.so.1.2.7
drwxr-xr-x.  2 root root      59 Feb 29 07:27 lksctp-tools
drwxr-xr-x.  3 root root      17 Feb 29 14:10 lua
drwxr-xr-x.  2 root root      90 Feb 29 06:42 man-db
-rw-r--r--.  1 root root     616 Aug  6  2019 Mcrt1.o
drwxr-xr-x.  3 root root      80 Feb 29 06:40 mysql
drwxr-xr-x.  3 root root      30 Feb 29 06:43 NetworkManager
drwxr-xr-x.  4 root root      65 Feb 29 06:40 nss
drwxr-xr-x.  3 root root      21 Aug  8  2019 openssl
lrwxrwxrwx.  1 root root      19 Feb 29 14:10 p11-kit-proxy.so -> libp11-kit.so.0.3.0
lrwxrwxrwx.  1 root root      13 Feb 29 14:10 p11-kit-trust.so -> libnssckbi.so
drwxr-xr-x. 29 root root    4096 Feb 29 07:25 perl5
drwxr-xr-x.  2 root root      30 Feb 29 14:10 pkcs11
drwxr-xr-x.  2 root root    4096 Feb 29 12:47 pkgconfig
drwxr-xr-x.  3 root root      56 Feb 29 06:41 plymouth
dr-xr-xr-x.  5 root root      52 Feb 29 14:10 pm-utils
drwxr-xr-x. 26 root root   20480 Feb 29 06:40 python2.7
drwxr-xr-x.  2 root root    4096 Feb 29 06:42 rsyslog
drwxr-xr-x.  2 root root      49 Feb 29 06:40 rtkaio
drwxr-xr-x.  2 root root     151 Feb 29 14:10 sasl2
-rw-r--r--.  1 root root    1920 Aug  6  2019 Scrt1.o
drwxr-xr-x.  3 root root    4096 Feb 29 06:41 security
dr-xr-xr-x.  2 root root       6 Apr 11  2018 sse2
drwxr-xr-x.  2 root root     125 Feb 29 06:40 tc
drwxr-xr-x.  3 root root      24 Feb 29 07:25 tcl8.5
dr-xr-xr-x.  2 root root       6 Apr 11  2018 tls
dr-xr-xr-x.  2 root root       6 Apr 11  2018 X11
drwxr-xr-x.  2 root root    4096 Feb 29 06:40 xtables
[root@orcl ~]# cat /etc/ld.so.conf
include ld.so.conf.d/*.conf
/usr/local/lib
/usr/lib64
# 刷新配置
[root@orcl ~]# ldconfig 
[oracle@orcl dbs]$ sql

SQL*Plus: Release 11.2.0.4.0 Production on Sat Feb 29 14:21:49 2020

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

SQL>

# 转: https://blog.csdn.net/kexianmiao/article/details/52396396
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值