title: Error in invoking target 'links proc gen_pcscfg' of makefile oracle error in ubuntu
body: <p>I am using Ubuntu 15.04, I am trying to install Oracle 11G.
  before installing the Oracle I have install all the package mention bellow.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>sudo apt-get install libaio1
  sudo apt-get install libaio-dev
  sudo apt-get install unixODBC
  sudo apt-get install unixODBC-dev
  sudo apt-get install expat
  sudo apt-get install sysstat
  sudo apt-get install libelf-dev
  sudo apt-get install elfutils
  sudo apt-get install lsb-cxx
  sudo apt-get install pdksh
  sudo apt-get install libstdc++5
  sudo apt-get install ia32-libs
  sudo apt-get install ksh
  sudo apt-get install lesstif2
  sudo apt-get install alien
  sudo apt-get install gcc
  sudo apt-get install gawk
  sudo apt-get install binutils
  sudo apt-get install gawk
  sudo apt-get install x11-utils
  sudo apt-get install rpm
  sudo apt-get install alien
  sudo apt-get install lsb-rpm
  sudo apt-get install libmotif3
  sudo apt-get install lesstif2
  sudo apt-get install openssh-server</code></pre>
  </div>
  </div>
  </p>
  
  <p>While installing Oracle I am getting this error
  <a href="https://i.stack.imgur.com/f2xp5.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/f2xp5.jpg" alt="Error"></a></p>
  
  <p><strong>LOG Errors</strong></p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>INFO: /usr/bin/ld: cannot find -lclntsh
  /usr/bin/ld: cannot find /usr/lib64/libpthread_nonshared.a inside 
  
  INFO: collect2: error: ld returned 1 exit status
  
  INFO: /home/varun/app/varun/product/11.2.0/dbhome_1/plsql/lib/ins_plsql.mk:33: recipe for target 'wrap' failed
  
  INFO: make: *** [wrap] Error 1
  
  INFO: End output from spawned process.
  INFO: ----------------------------------
  INFO: Exception thrown from action: make
  Exception Name: MakefileException
  Exception String: Error in invoking target 'install' of makefile '/home/varun/app/varun/product/11.2.0/dbhome_1/plsql/lib/ins_plsql.mk'. See '/home/varun/app/oraInventory/logs/installActions2015-08-27_11-31-03PM.log' for details.
  Exception Severity: 1</code></pre>
  </div>
  </div>
  </p>
  
  <p>I really dont have idea how do I resolve this. Searched lot on the net but could not find solution. Does any body have idea how do I FIXED IT</p>