{"action":"created","issue":{"url":"https://api.github.com/repos/JCMais/node-libcurl/issues/43","repository_url":"https://api.github.com/repos/JCMais/node-libcurl","labels_url":"https://api.github.com/repos/JCMais/node-libcurl/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/JCMais/node-libcurl/issues/43/comments","events_url":"https://api.github.com/repos/JCMais/node-libcurl/issues/43/events","html_url":"https://github.com/JCMais/node-libcurl/issues/43","id":125219752,"number":43,"title":"Getting error while using Node v4.2.4","user":{"login":"trangiiee","id":1852539,"avatar_url":"https://avatars.githubusercontent.com/u/1852539?v=3","gravatar_id":"","url":"https://api.github.com/users/trangiiee","html_url":"https://github.com/trangiiee","followers_url":"https://api.github.com/users/trangiiee/followers","following_url":"https://api.github.com/users/trangiiee/following{/other_user}","gists_url":"https://api.github.com/users/trangiiee/gists{/gist_id}","starred_url":"https://api.github.com/users/trangiiee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trangiiee/subscriptions","organizations_url":"https://api.github.com/users/trangiiee/orgs","repos_url":"https://api.github.com/users/trangiiee/repos","events_url":"https://api.github.com/users/trangiiee/events{/privacy}","received_events_url":"https://api.github.com/users/trangiiee/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JCMais/node-libcurl/labels/darwin","name":"darwin","color":"207DE5"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2016-01-06T17:08:10Z","updated_at":"2016-02-04T21:08:33Z","closed_at":"2016-01-07T14:14:45Z","body":"Hello~\r\n\r\nCould you help me diagnose my error? Everything was working fine when I was using Node v 0.12.7.\r\n\r\n```\r\nreturn process.dlopen(module, path._makeLong(filename));\r\n                 ^\r\n\r\nError: dlopen(/Users/angie/projects/node-projects/search-api/node_modules/node-libcurl/lib/binding/node_libcurl.node, 1): Library not loaded: /Users/travis/lib/libcurl.4.dylib\r\n  Referenced from: /Users/angie/projects/node-projects/search-api/node_modules/node-libcurl/lib/binding/node_libcurl.node\r\n  Reason: Incompatible library version: node_libcurl.node requires version 9.0.0 or later, but libcurl.4.dylib provides version 7.0.0\r\n```\r\n\r\nOS: OSX 10.10.5\r\nxcode: 7.2\r\nlibcurl: 7.43.0\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/JCMais/node-libcurl/issues/comments/180050062","html_url":"https://github.com/JCMais/node-libcurl/issues/43#issuecomment-180050062","issue_url":"https://api.github.com/repos/JCMais/node-libcurl/issues/43","id":180050062,"user":{"login":"JCMais","id":1041647,"avatar_url":"https://avatars.githubusercontent.com/u/1041647?v=3","gravatar_id":"","url":"https://api.github.com/users/JCMais","html_url":"https://github.com/JCMais","followers_url":"https://api.github.com/users/JCMais/followers","following_url":"https://api.github.com/users/JCMais/following{/other_user}","gists_url":"https://api.github.com/users/JCMais/gists{/gist_id}","starred_url":"https://api.github.com/users/JCMais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JCMais/subscriptions","organizations_url":"https://api.github.com/users/JCMais/orgs","repos_url":"https://api.github.com/users/JCMais/repos","events_url":"https://api.github.com/users/JCMais/events{/privacy}","received_events_url":"https://api.github.com/users/JCMais/received_events","type":"User","site_admin":false},"created_at":"2016-02-04T21:08:33Z","updated_at":"2016-02-04T21:08:33Z","body":"yup, the easy way to fix that is you getting libcurl and compiling it from source, if you have the time to do that, it would be like the following:\r\n\r\n```\r\n$ cd ~\r\n$ git clone https://github.com/curl/curl.git --single-branch --branch=curl-7_47_0 && cd curl\r\n$ git checkout curl-7_47_0\r\n$ export MACOSX_DEPLOYMENT_TARGET=\"10.8\"\r\n$ export PATH=$PATH:~/curl-binaries\r\n$ ./configure --prefix=~/curl-binaries --with-darwinssl --disable-shared --enable-static\r\n$ make && make install\r\n$ npm install node-libcurl --build-from-source\r\n```"}}