Install oracle client on Redhat 7

When trying to run one of our application on a Redhat 7 amazon  instance, I had this error: cannot open shared object file: No such file or directory

DBMS API Library loading fails
This library is a part of DBMS client installation, not SQLAPI++
Make sure DBMS client is installed and
this required library is available for dynamic loading

1) The directories in the user's LD_LIBRARY_PATH environment variable
2) The list of libraries cached in /etc/
3) /usr/lib, followed by /lib

The application needed the oracle client library to connect to our Oracle DB.

To install it, we did:

  • download from oracle the file oracle-instantclient12.1-basic-
  • install it:
    • yum install oracle-instantclient12.1-basic-
  • Create a symbolic link

cd /usr/lib/oracle/12.1/client64/lib/

ln -s




This entry was posted in Cracking the coding interview - a python experience. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s