oracle instant client 安装 libaio.so.1: cannot open shared object file

本地安装oracle instant client,下载,解压,配置环境变量之后,执行sqlplus,报错如下:

 

[root@abc ~]# sqlplus
sqlplus: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
[root@abc ~]# which sqlplus
/usr/local/instantclient_11_2/sqlplus
[root@abc ~]# ldd /usr/local/instantclient_11_2/sqlplus
        linux-vdso.so.1 =>  (0x00007fff8b381000)
        libsqlplus.so => /usr/local/instantclient_11_2/libsqlplus.so (0x00007f79c4005000)
        libclntsh.so.11.1 => /usr/local/instantclient_11_2/libclntsh.so.11.1 (0x00007f79c1695000)
        libnnz11.so => /usr/local/instantclient_11_2/libnnz11.so (0x00007f79c12c8000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f79c10c0000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f79c0e3b000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f79c0c1e000)
        libnsl.so.1 => /lib64/libnsl.so.1 (0x00007f79c0a05000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f79c0671000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f79c41eb000)
        libaio.so.1 => not found
[root@abc ~]#

 

网上下载一个rpm包“libaio-0.3.107-10.el6.x86_64.rpm”,安装:

[root@abc instantclient_11_2]# rpm -ivh libaio-0.3.107-10.el6.x86_64.rpm
warning: libaio-0.3.107-10.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID c105b9de: NOKEY
Preparing...                ########################################### [100%]
   1:libaio                 ########################################### [100%]
[root@abc instantclient_11_2]#
[root@abc instantclient_11_2]# which sqlplus
/usr/local/instantclient_11_2/sqlplus
[root@abc instantclient_11_2]# sqlplus

SQL*Plus: Release 11.2.0.4.0 Production on Mon Sep 30 03:37:29 2013

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

Enter user-name: ^C
[root@abc instantclient_11_2]#

 

 

 

你可能感兴趣的:(oracle instant client 安装 libaio.so.1: cannot open shared object file)