title: SVN error while taking checkout using script
body: <p>I am getting below error when taking checkout from svn using a script.</p>
  
  <pre><code>**[Test] $ /bin/sh -xe /tmp/hudson8576425899836211909.sh
  + sh /cvsrx/rxapp/build_dir/Jenkins_Scripts/test.sh
  Could not load program svn:
  Could not load module /opt/freeware/lib/libssl.so.
      Dependent module /usr/lib/libcrypto.a(libcrypto.so.1.0.1) could not be loaded.
      Member libcrypto.so.1.0.1 is not found in archive 
  Could not load module svn.
      Dependent module /opt/freeware/lib/libssl.so could not be loaded.
  Could not load module .
  Build step 'Execute shell' marked build as failure
  Finished: FAILURE**
  </code></pre>
  
  <p>In test.sh I have written just one line svn co /path to svn branch/ 
  I am in middle of some test so please don't ask why am not using jenkins in build svn plugin.
  here,I am able to take checkout on command prompt using svn co /path to svn branch/
  But not if I write this command line in script and run in execute shell of jenkins.
  Any help please ?</p>
  
  <p>Am using jenkins on AIX 7 platform.</p>
  
  <p>I had softlinks from /usr/bin/svn to /opt/freeware/bin/svn.SVN installed at /opt/freeware/bin/svn ..... By default when i do which svn its showing <code>/usr/bin/svn</code>But When i deleted those softlinks and exported path,Jenkins didnt recognize SVN at all.And <code>which svn</code> command doesnot show any svn installed . PFB logs of jenkins :
  ` </p>
  
  <pre><code>/bin/sh -xe /tmp/hudson5607872610124977868.sh
  + export PATH=/opt/freeware/bin/svn/:/opt/freeware/bin/svnversion:/opt/freeware/bin/svn:/opt/freeware/bin/svnversion/:/usr/java5/lib:/opt/freeware/bin/svnversion/bin:/usr/local/bin:/usr/bin:/usr/X11R7/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/mit/bin:/sbin:/
  + echo /opt/freeware/bin/svn/:/opt/freeware/bin/svnversion:/opt/freeware/bin/svn:/opt/freeware/bin/svnversion/:/usr/java5/lib:/opt/freeware/bin/svnversion/bin:/usr/local/bin:/usr/bin:/usr/X11R7/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/mit/bin:/sbin:/opt/freeware/bin/svn/:/opt/freeware/bin/svnversion:/opt/freeware/bin/svn:/opt/freeware/bin/svnversion/:/usr/java5/lib:/opt/freeware/bin/svnversion/bin:/usr/local/bin:/usr/bin:/usr/X11R7/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/mit/bin:/sbin
  + cd /usr/local/apps/Jenkins_new/scripts
  + ./test.sh
  Could not load program /opt/freeware/bin/svn:
  Could not load module /opt/freeware/lib/libssl.so.
      Dependent module /usr/lib/libcrypto.a(libcrypto.so.1.0.1) could not be loaded.
      Member libcrypto.so.1.0.1 is not found in archive 
  Could not load module svn.
      Dependent module /opt/freeware/lib/libssl.so could not be loaded.
  Could not load module .
  ./test.sh[3]: svn:  not found
  Build step 'Execute shell' marked build as failure
  Finished: FAILURE`
  </code></pre>