title: Link Dynamic library to Netbeans Platform Project
body: <p>Sorry if this is a beginner question but I am trying to solve this for many hours without success.</p>
  
  <p>I have a problem getting a platform netbeans project (contains number of modules suits) to run in Ubuntu or Mac. </p>
  
  <p>In Ubuntu 18.04, if I run the project from launcher it raises an error related to a missing dynamic library. I tried to add the missing library path to the system e.g. .bashrc but this solve the problem partly. The project now runs only if I start netbeans from the terminal.</p>
  
  <p>I tried to add the path globally e.g. in /etc/ld.so.conf.d but this does not work.</p>
  
  <p>Same error happens in Mac OS but starting netbeans from the terminal does not solve the problem. </p>
  
  <p>It same netbeans platform project does not have properties or option to add dynamic library e.g. .so file.</p>