tags:

views:

33

answers:

0

Hi,

I am doing some practice with clsql. I want to connect my oracle server hence my connection function is;

(connect '("192.168.2.3" "xe" "username" "password") :database-type :oracle)

when i hit the return, the following error message shows up.

Couldn't load foreign libraries "libclntsh", "oci". (searched *FOREIGN-LIBRARY-SEARCH-PATHS*) [Condition of type SIMPLE-ERROR]

I have already installed oracle-instantclient11.2-basic-11.2.0.1.0-1.i386.rpm

and define export LD_LIBRARY_PATH=/usr/lib/oracle/11.2/client/lib

So, what else should I do to connect the server?