Oracle Instant Client Installation Libaio.so.1:cannot Open Shared Object file____oracle

Source: Internet
Author: User
Tags sqlplus

Install Oracle Instant client locally, download, extract, configure environment variables, execute sqlplus, and the error is as follows:

[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 ~]#

Download an RPM package "libaio-0.3.107-10.el6.x86_64.rpm" on the Internet, install:

[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]#

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.