title: Node.js imagemin on CentOS
body: <p>I am trying to use <strong>Node.js imagemin</strong> to compress a lot of images on my server. I like using <strong>imagemin</strong> because I know how to point it at specific directories.</p>
  
  <p>I am using CentOS 6 and when I run my file, I get the error:</p>
  
  <blockquote>
    <p>node_modules/imagemin/node_modules/imagemin-pngquant/node_modules/pngquant-bin/vendor/pngquant: /lib64/libc.so.6: version `GLIBC_2.14' not found</p>
  </blockquote>
  
  <p>Also, when I installed <strong>imagemin</strong> with <code>npm install imagemin</code>, I got an error that said:</p>
  
  <blockquote>
    <p>Error: pngquant failed to build, make sure that libpng-dev is installed</p>
  </blockquote>
  
  <p>Any ideas on what I can do to solve this?</p>