Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to use cx_Oracle on Fedora 15 with Oracle 11.

I have install Oracle and InstantClient rpms and also cx_Oracle rpm for CentOS. I am exporting ORACLE_HOME and other like this:

export ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe

However, libclntsh.so.11.1 lies here:


I wonder, if that is not the problem. However Oracle was already installed in this u01 directory (I don't know what is it, on Ubuntu it installed in the right place). Could you suggest me, what I can do with this?

share|improve this question
up vote 2 down vote accepted

Finally found the answer! I didn't need to install again InstantClient, as the libclntsh.so.11.1 was already in the oracle installation. I needed to add another environment variable to .bashrc:


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.