title: Testprintenv:error while loading shared libraries:libodbc.so.1: cannot open shared object file
body: <p>I am trying to invoke a C-Program which returns the value for a given keyword from a configuration file</p>
  
  <p>While trying to invoke program it's displaying below error:</p>
  
  <pre><code>**Testprintenv: error while loading shared libraries: libodbc.so.1: cannot open shared object file: No such file or directory**
  </code></pre>
  
  <p>We have installed EasySoft previously and uninstalled back (Removed all directories).</p>
  
  <p>Below dependencies are showing up on Linux machine
  **</p>
  
  <pre><code>-bash-4.1$ ldd Testprintenv
          linux-vdso.so.1 =&gt;  (0x00007fffc0bdb000)
          libodbc.so.1 =&gt; not found
          libodbcinst.so.1 =&gt; not found
          libc.so.6 =&gt; /lib64/libc.so.6 (0x000000397b200000)
          /lib64/ld-linux-x86-64.so.2 (0x000000397ae00000)
  </code></pre>
  
  <p>**</p>
  
  <p>When we try the same program on Solaris machine dependencies are showing up differently and executing without any error:</p>
  
  <pre><code>[Testuser]$ ldd Testprintenv
          libsocket.so.1 =&gt;        /lib/libsocket.so.1
          libnsl.so.1 =&gt;   /lib/libnsl.so.1
          libc.so.1 =&gt;     /lib/libc.so.1
          libmp.so.2 =&gt;    /lib/libmp.so.2
          libmd.so.1 =&gt;    /lib/libmd.so.1
          libscf.so.1 =&gt;   /lib/libscf.so.1
          libdoor.so.1 =&gt;  /lib/libdoor.so.1
          libuutil.so.1 =&gt;         /lib/libuutil.so.1
          libgen.so.1 =&gt;   /lib/libgen.so.1
          libm.so.2 =&gt;     /lib/libm.so.2
          /platform/SUNW,SPARC-Enterprise/lib/libc_psr.so.1
  </code></pre>
  
  <p>Any insight why the dependency (libodbc.so.1) is only showing up on linux and how to resolve?</p>
  
  <p>Thanks in advance,</p>