title: Linux 64-bit ERROR: Cannot load OCI DLL: libclntsh.so
body: <p>Good afternoon.
  There is a problem.
  Once I had an old Linux system 32 bits.
  ORacle 11 client was configured on this system.
  And one self-written (on lazarus) program was connected from this system to the Oracle server correctly.
  We decided to set up a new 64-bit Linux system.
  Everything is set up in the same way.
  But when starting the program, more precisely when we access oracle through the program (to the server settings, login and password), an error popped up:
  &quot;TApplication.HandleException Cannot load OCI DLL: libclntsh.so&quot;.
  I double-checked that this library exists and a symlink has been created for it.</p>
  <pre><code>glogin.sql
  libclntshcore.so.18.1
  libclntsh.so -&gt; /usr/lib/oracle/18.5/client64/lib/libclntsh.so.18.1
  libclntsh.so.18.1
  libipc1.so
  libmql1.so
  libnnz18.so
  libocci.so -&gt; /usr/lib/oracle/18.5/client64/lib/libocci.so.18.1
  libocci.so.18.1
  libociei.so
  libocijdbc18.so
  libons.so
  liboramysql18.so
  libsqlplusic.so
  libsqlplus.so
  ojdbc8.jar
  ottclasses.zip
  xstreams.jar
  </code></pre>
  <p>From the command line connection to the oracle server occurs without errors.
  I've searched a bunch of forums, followed their advice - it didn't help.</p>
  <p>Can anyone suggest how to solve this puzzle?</p>