{"action":"created","issue":{"url":"https://api.github.com/repos/imagemin/jpegoptim-bin/issues/3","labels_url":"https://api.github.com/repos/imagemin/jpegoptim-bin/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/imagemin/jpegoptim-bin/issues/3/comments","events_url":"https://api.github.com/repos/imagemin/jpegoptim-bin/issues/3/events","html_url":"https://github.com/imagemin/jpegoptim-bin/issues/3","id":54700994,"number":3,"title":"Cannot build on CentOS 7","user":{"login":"sup3rman","id":7393351,"avatar_url":"https://avatars.githubusercontent.com/u/7393351?v=3","gravatar_id":"","url":"https://api.github.com/users/sup3rman","html_url":"https://github.com/sup3rman","followers_url":"https://api.github.com/users/sup3rman/followers","following_url":"https://api.github.com/users/sup3rman/following{/other_user}","gists_url":"https://api.github.com/users/sup3rman/gists{/gist_id}","starred_url":"https://api.github.com/users/sup3rman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sup3rman/subscriptions","organizations_url":"https://api.github.com/users/sup3rman/orgs","repos_url":"https://api.github.com/users/sup3rman/repos","events_url":"https://api.github.com/users/sup3rman/events{/privacy}","received_events_url":"https://api.github.com/users/sup3rman/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-18T16:12:05Z","updated_at":"2015-09-21T16:45:18Z","closed_at":"2015-09-21T16:45:17Z","body":"Hi,\r\n\r\nI have tried installing jpegoptim-bin on three different Digital Ocean droplets running CentOS 7 (x64). I get the same error on all three.\r\n\r\n```\r\n> jpegoptim-bin@2.0.1 postinstall /home/tcbeer/node_modules/jpegoptim-bin\r\n> node lib/install.js\r\n\r\n  ⚠ The `jpegoptim` binary doesn't seem to work correctly\r\n  ⚠ jpegoptim pre-build test failed\r\n  ℹ compiling from source\r\n  ✖ Error: ./configure --prefix=\"/home/tcbeer/node_modules/jpegoptim-bin/vendor\" --bindir=\"/home/tcbeer/node_modules/jpegoptim-bin/vendor\" && make install && mv /home/tcbeer/node_modules/jpegoptim-bin/vendor/bin/jpegoptim /home/tcbeer/node_modules/jpegoptim-bin/vendor/jpegoptim\r\nCommand failed: \r\n    at ChildProcess.exithandler (child_process.js:648:15)\r\n    at ChildProcess.emit (events.js:98:17)\r\n    at maybeClose (child_process.js:756:16)\r\n    at Process.ChildProcess._handle.onexit (child_process.js:823:5)\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/imagemin/jpegoptim-bin/issues/comments/142038804","html_url":"https://github.com/imagemin/jpegoptim-bin/issues/3#issuecomment-142038804","issue_url":"https://api.github.com/repos/imagemin/jpegoptim-bin/issues/3","id":142038804,"user":{"login":"shinnn","id":1131567,"avatar_url":"https://avatars.githubusercontent.com/u/1131567?v=3","gravatar_id":"","url":"https://api.github.com/users/shinnn","html_url":"https://github.com/shinnn","followers_url":"https://api.github.com/users/shinnn/followers","following_url":"https://api.github.com/users/shinnn/following{/other_user}","gists_url":"https://api.github.com/users/shinnn/gists{/gist_id}","starred_url":"https://api.github.com/users/shinnn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shinnn/subscriptions","organizations_url":"https://api.github.com/users/shinnn/orgs","repos_url":"https://api.github.com/users/shinnn/repos","events_url":"https://api.github.com/users/shinnn/events{/privacy}","received_events_url":"https://api.github.com/users/shinnn/received_events","type":"User","site_admin":false},"created_at":"2015-09-21T16:45:17Z","updated_at":"2015-09-21T16:45:17Z","body":"We just updated the [installation instructions](https://github.com/imagemin/jpegoptim-bin#install).\r\n\r\n> Make sure you have the correct version of libjpeg. See [jpegoptim's README](https://github.com/tjko/jpegoptim#readme) for more information.\r\n\r\n`apt-get install libjpeg62 libjpeg62-dev` would solve the problem.\r\n"}}