{"action":"created","issue":{"url":"https://api.github.com/repos/lovell/sharp/issues/649","repository_url":"https://api.github.com/repos/lovell/sharp","labels_url":"https://api.github.com/repos/lovell/sharp/issues/649/labels{/name}","comments_url":"https://api.github.com/repos/lovell/sharp/issues/649/comments","events_url":"https://api.github.com/repos/lovell/sharp/issues/649/events","html_url":"https://github.com/lovell/sharp/issues/649","id":194407556,"number":649,"title":"\"undefined symbol\" when loading sharp.node","user":{"login":"sebastien-mignot","id":1381612,"avatar_url":"https://avatars.githubusercontent.com/u/1381612?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastien-mignot","html_url":"https://github.com/sebastien-mignot","followers_url":"https://api.github.com/users/sebastien-mignot/followers","following_url":"https://api.github.com/users/sebastien-mignot/following{/other_user}","gists_url":"https://api.github.com/users/sebastien-mignot/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastien-mignot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastien-mignot/subscriptions","organizations_url":"https://api.github.com/users/sebastien-mignot/orgs","repos_url":"https://api.github.com/users/sebastien-mignot/repos","events_url":"https://api.github.com/users/sebastien-mignot/events{/privacy}","received_events_url":"https://api.github.com/users/sebastien-mignot/received_events","type":"User","site_admin":false},"labels":[{"id":52750126,"url":"https://api.github.com/repos/lovell/sharp/labels/question","name":"question","color":"fef2c0","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-12-08T18:20:42Z","updated_at":"2016-12-09T10:29:03Z","closed_at":null,"body":"Hi,\r\nWhen I try to require(\"sharp\"), I get the following error : \r\n\r\n```\r\nmodule.js:598\r\n  return process.dlopen(module, path._makeLong(filename));\r\n                 ^\r\n\r\nError: /home/sebastien/git/backend/node_modules/sharp/build/Release/sharp.node: undefined symbol: _ZN4vips6VImageixEi\r\n    at Object.Module._extensions..node (module.js:598:18)\r\n    at Module.load (module.js:488:32)\r\n    at tryModuleLoad (module.js:447:12)\r\n    at Function.Module._load (module.js:439:3)\r\n    at Module.require (module.js:498:17)\r\n    at require (internal/module.js:20:19)\r\n    at Object.<anonymous> (/home/sebastien/git/backend/node_modules/sharp/index.js:12:13)\r\n```\r\n\r\nWe are many developpers on the same project, many of which on the same OS as me (ubuntu 16.04), with the same node version (6.6) for everyone. So this is likely to be an annoying configuration bug...\r\n\r\nThis happens even when I put a simple test.js in my project that only does the require, and run it in command line with node executable. (else it's done in our server that runs with forever)\r\n\r\nI saw here https://github.com/lovell/sharp/issues/188 that it could come from a build done with a different version that the one on which it's executed. But I cleaned all the installed versions (I'm using 'n'), removed the -g install of node-gyp (npm remove -g node-gyp), deleted all the node_modules, and made npm install in the project again. It didn't work. I did then a npm rebuild (for good mesure, since re-installing all the modules already did that...), and no more luck.\r\n\r\nNo luck finding anything on google on this error either.\r\n\r\nAny help would be welcome !"},"comment":{"url":"https://api.github.com/repos/lovell/sharp/issues/comments/265982207","html_url":"https://github.com/lovell/sharp/issues/649#issuecomment-265982207","issue_url":"https://api.github.com/repos/lovell/sharp/issues/649","id":265982207,"user":{"login":"lovell","id":210965,"avatar_url":"https://avatars.githubusercontent.com/u/210965?v=3","gravatar_id":"","url":"https://api.github.com/users/lovell","html_url":"https://github.com/lovell","followers_url":"https://api.github.com/users/lovell/followers","following_url":"https://api.github.com/users/lovell/following{/other_user}","gists_url":"https://api.github.com/users/lovell/gists{/gist_id}","starred_url":"https://api.github.com/users/lovell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lovell/subscriptions","organizations_url":"https://api.github.com/users/lovell/orgs","repos_url":"https://api.github.com/users/lovell/repos","events_url":"https://api.github.com/users/lovell/events{/privacy}","received_events_url":"https://api.github.com/users/lovell/received_events","type":"User","site_admin":false},"created_at":"2016-12-09T10:29:03Z","updated_at":"2016-12-09T10:29:03Z","body":"Ubuntu 16.04 provides [libvips-dev](http://packages.ubuntu.com/xenial/libvips-dev) v8.2.2 so you're currently limited to sharp [v0.13.x](http://sharp.dimens.io/en/stable/changelog/#v013-mind) or earlier.\r\n\r\nFor 32-bit Ubuntu 16.04, I'd suggest removing the prepackaged libvips via apt-get and installing a more recent libvips [from source](https://github.com/jcupitt/libvips#building-libvips-from-a-source-tarball)."}}
{"actor":{"display_login":"lovell"}}