title: error while loading shared libraries: libpng16.so.16
body: <p>The problem is that I'm trying to use nodejs for building some css files from scss. On the local computer everything is ok.</p>
  
  <p>When I run <code>npm run production</code> it shows me the error:</p>
  
  <pre><code>ERROR in ./resources/assets/sass/images/promo.jpg
  Module build failed: Error: Command failed: /var/www/vhosts/site.ru/shared/node_modules/mozjpeg/vendor/cjpeg
  /var/www/vhosts/site.ru/shared/node_modules/mozjpeg/vendor/cjpeg: error while loading 
  shared libraries: libpng16.so.16: cannot open shared object file: No such file or 
  directory
  </code></pre>
  
  <p>But when I run the same command from another directory(For example: <code>/var/www/vhosts/site2.ru/</code>) everything is ok(script works with jpg files too).</p>
  
  <p>If I run <code>ldconfig -p | grep libpng</code> I see the next:</p>
  
  <pre><code> libpng12.so.0 (libc6,x86-64) =&gt; /lib/x86_64-linux-gnu/libpng12.so.0
   libpng12.so.0 (libc6,x86-64) =&gt; /usr/lib/x86_64-linux-gnu/libpng12.so.0
  </code></pre>
  
  <p>So, my Libng12 is working correctly, why does the system needs in libpng16?
  And what should I try do in this situation? </p>
  
  <p>My system is Ubuntu 16.04</p>