title: attempt to open //usr/local/lib/x86_64-linux-gnu/libngsmshd12.so failed
body: <p>I see it is obvious it was not present in my system to copy it in lib folder. Hence requesting any way to overcome this error. Here is output of</p>
  
  <pre><code>ld -libngsmshd12 --verbose
  
  
  attempt to open //usr/local/lib/x86_64-linux-gnu/libngsmshd12.so failed
  attempt to open //usr/local/lib/x86_64-linux-gnu/libngsmshd12.a failed
  attempt to open //lib/x86_64-linux-gnu/libngsmshd12.so failed
  attempt to open //lib/x86_64-linux-gnu/libngsmshd12.a failed
  attempt to open //usr/lib/x86_64-linux-gnu/libngsmshd12.so failed
  attempt to open //usr/lib/x86_64-linux-gnu/libngsmshd12.a failed
  attempt to open //usr/lib/x86_64-linux-gnu64/libngsmshd12.so failed
  attempt to open //usr/lib/x86_64-linux-gnu64/libngsmshd12.a failed
  attempt to open //usr/local/lib64/libngsmshd12.so failed
  attempt to open //usr/local/lib64/libngsmshd12.a failed
  attempt to open //lib64/libngsmshd12.so failed 
  attempt to open //lib64/libngsmshd12.a failed
  attempt to open //usr/lib64/libngsmshd12.so failed 
  attempt to open //usr/lib64/libngsmshd12.a failed
  attempt to open //usr/local/lib/libngsmshd12.so failed
  attempt to open //usr/local/lib/libngsmshd12.a failed
  attempt to open //lib/libngsmshd12.so failed
  attempt to open //lib/libngsmshd12.a failed
  attempt to open //usr/lib/libngsmshd12.so failed
  attempt to open //usr/lib/libngsmshd12.a failed
  attempt to open //usr/x86_64-linux-gnu/lib64/libngsmshd12.so failed
  attempt to open //usr/x86_64-linux-gnu/lib64/libngsmshd12.a failed
  attempt to open //usr/x86_64-linux-gnu/lib/libngsmshd12.so failed
  attempt to open //usr/x86_64-linux-gnu/lib/libngsmshd12.a failed
  ld: cannot find -lngsmshd12
  </code></pre>
  
  <p>I got pop error too (Error in invoking target all_no_orcl in ins_rdbms.mk file) while installing Oracle 12c on my Ubuntu 18.04 version, but skipped thinking ok with losing some functionalities. After installing I got TNS lost contact error which again is due to of this library -lngsmshd12 i believe. Just to know, I updated and copied all .mk files with necessary changes to be done to install Oracle12c. (like -Wl,--no-as-needed, etc)</p>
  
  <p>Here is similar link I checked:</p>
  
  <p><a href="https://stackoverflow.com/questions/16710047/usr-bin-ld-cannot-find-lnameofthelibrary">usr/bin/ld: cannot find -l&lt;nameOfTheLibrary&gt;</a></p>
  
  <p>I have tried re linking too as my oracle binary was 0 bytes, with the help of below link and got no error.
  <a href="http://ruleoftech.com/2016/problems-with-installing-oracle-db-12c-ee-ora-12547-tns-lost-contact" rel="nofollow noreferrer">http://ruleoftech.com/2016/problems-with-installing-oracle-db-12c-ee-ora-12547-tns-lost-contact</a></p>
  
  <p>But while running </p>
  
  <pre><code>make -f ins_rdbms.mk install
  </code></pre>
  
  <p>Here is the tail part of error:</p>
  
  <pre><code>/usr/bin/ld: cannot find -lngsmshd12
  collect2: error: ld returned 1 exit status
  </code></pre>