title: Loading shared libraries with ssh framework
body: <p>Hi there I'am using sshxcute framework to access a Linux server. The idea is to execute an application compiled with gcc from a java project. This gcc applications has the next dependency:</p>
  
  <pre><code>    libdl.so.2 =&gt; /lib64/libdl.so.2 (0x000000300ca00000)
      libocci.so.11.1 =&gt; /e01/demov7/lib/libocci.so.11.1 (0x00002ac507b33000)
      libclntsh.so.11.1 =&gt; /u01/app/oracle/product/11gR2/lib/libclntsh.so.11.1 (0x00002ac507e2e000)
      libnnz11.so =&gt; /u01/app/oracle/product/11gR2/lib/libnnz11.so (0x00002ac50a459000)
      libstdc++.so.6 =&gt; /usr/lib64/libstdc++.so.6 (0x000000301ec00000)
      libm.so.6 =&gt; /lib64/libm.so.6 (0x000000300c600000)
      libgcc_s.so.1 =&gt; /lib64/libgcc_s.so.1 (0x000000301ac00000)
      libc.so.6 =&gt; /lib64/libc.so.6 (0x000000300c200000)
      /lib64/ld-linux-x86-64.so.2 (0x000000300be00000)
      libpthread.so.0 =&gt; /lib64/libpthread.so.0 (0x000000300ce00000)
      libnsl.so.1 =&gt; /lib64/libnsl.so.1 (0x000000300fa00000)
      libaio.so.1 =&gt; /usr/lib64/libaio.so.1 (0x0000003a92800000)
  </code></pre>
  
  <p>But when I try to execute my application I have the next error</p>
  
  <blockquote>
    <p>error while loading shared libraries: libocci.so.11.1: cannot open shared object file: No such file or directory</p>
  </blockquote>
  
  <p>Do I need to execute somme command or configure some environment variables to allow access to the server libraries ?</p>
  
  <p>I attached my code here.</p>
  
  <pre><code>        SSHExec ssh = null;
          ConnBean cb = new ConnBean("127.0.0.1", "user", "password");
          ssh = SSHExec.getInstance(cb);
  
          CustomTask ct1 = new ExecCommand("./myapplication");
          ssh.connect();           
  
          Result res = ssh.exec(ct1);
  
          if (res.isSuccess) {
              response = res.sysout;
          } else {
              response = res.error_msg;
          }
  
          ssh.disconnect() ;
  </code></pre>