error while loading shared libraries: libclntsh.so.11.1: cannot open shared object file: No such file or directory
<p>I'm making a C program which is connecting a oracle DB. I have correctly installed the Oracle Instant Client and ocilib.</p>

<p>And I did compile the code without any error but when I executing the program I got following error.   </p>

<pre><code>./a.out: error while loading shared libraries: libclntsh.so.11.1: cannot open shared object file: No such file or directory
</code></pre>

<p>If anyone know how to solve please write it
Thank you. </p>