{"action":"opened","issue":{"url":"https://api.github.com/repos/lovell/sharp/issues/327","labels_url":"https://api.github.com/repos/lovell/sharp/issues/327/labels{/name}","comments_url":"https://api.github.com/repos/lovell/sharp/issues/327/comments","events_url":"https://api.github.com/repos/lovell/sharp/issues/327/events","html_url":"https://github.com/lovell/sharp/issues/327","id":123555825,"number":327,"title":"Error: libvips.so.42: cannot open shared object file","user":{"login":"abhijeetshah","id":587894,"avatar_url":"https://avatars.githubusercontent.com/u/587894?v=3","gravatar_id":"","url":"https://api.github.com/users/abhijeetshah","html_url":"https://github.com/abhijeetshah","followers_url":"https://api.github.com/users/abhijeetshah/followers","following_url":"https://api.github.com/users/abhijeetshah/following{/other_user}","gists_url":"https://api.github.com/users/abhijeetshah/gists{/gist_id}","starred_url":"https://api.github.com/users/abhijeetshah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhijeetshah/subscriptions","organizations_url":"https://api.github.com/users/abhijeetshah/orgs","repos_url":"https://api.github.com/users/abhijeetshah/repos","events_url":"https://api.github.com/users/abhijeetshah/events{/privacy}","received_events_url":"https://api.github.com/users/abhijeetshah/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-22T21:05:12Z","updated_at":"2015-12-22T21:05:12Z","closed_at":null,"body":"I was successfully able to install livips and sharp using the gist using following commands \r\ncurl -s https://gist.githubusercontent.com/h2non/89bb2f87c6499d0b25f1/raw/bf3d0743107f02f5db2b93c53f7f0e07a1c33112/libvips-installer.sh | sudo bash -\r\nnpm install sharp\r\non following environment \r\nCent OS: 6.7\r\n NPM     : 1.4.14\r\nNode     :  v0.10.29\r\n\r\nBut when I include following command in the program, \r\nvar sharp = require('sharp')\r\n\r\nI am getting following error:\r\n\r\nmodule.js:356\r\n  Module._extensions[extension](this, filename);\r\n                               ^\r\nError: libvips.so.42: cannot open shared object file: No such file or directory\r\n    at Module.load (module.js:356:32)\r\n    at Function.Module._load (module.js:312:12)\r\n    at Module.require (module.js:364:17)\r\n    at require (module.js:380:17)\r\n    at Object.<anonymous> (/home/as/sails/z2/node_modules/sharp/index.js:12:13)\r\n    at Module._compile (module.js:456:26)\r\n    at Object.Module._extensions..js (module.js:474:10)\r\n    at Module.load (module.js:356:32)\r\n    at Function.Module._load (module.js:312:12)\r\n    at Module.require (module.js:364:17)\r\n    at require (module.js:380:17)\r\n    at Object.module.exports.test1 (/home/as/sails/z2/api/services/TestService.js:28:17)\r\n    at Object.bound (/home/as/sails/node_modules/sails/node_modules/lodash/dist/lodash.js:729:21)\r\n    at /home/as/sails/z2/api/policies/router.js:189:45\r\n    at fs.js:271:14\r\n    at Object.oncomplete (fs.js:107:15)\r\n\r\nI tried doing ldconfig without much help\r\nwhereis vips\r\nvips: /usr/bin/vips /usr/local/bin/vips /usr/include/vips /usr/share/man/man1/vips.1\r\nwhereis libvips\r\nlibvips: /usr/lib/libvips.a /usr/lib/libvips.la /usr/lib/libvips.so /usr/local/lib/libvips.a /usr/local/lib/libvips.la /usr/local/lib/libvips.so\r\n\r\n\r\n\r\n\r\n\r\n"}}