{"issue":{"state":"open","created_at":"2011-12-03T16:20:00Z","updated_at":"2011-12-03T16:20:00Z","comments":0,"user":{"gravatar_id":"37f5b02845d2bfa71641ec9736d58061","id":8212,"url":"https://api.github.com/users/sant0sk1","avatar_url":"https://secure.gravatar.com/avatar/37f5b02845d2bfa71641ec9736d58061?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"sant0sk1"},"body":"My setup:\r\n\r\n```\r\nMac OS 10.7.2\r\nnode 0.6.4 (view homebrew)\r\nnode-waf 1.5.16\r\nnpm 1.0.106\r\n```\r\n\r\nWhen trying to install `hiredis` via npm, it fails during linking:\r\n\r\n```\r\nsetting srcdir to                        : /Users/jerod/src/node/hntrends/node_modules/hiredis\r\nSetting blddir to                        : /Users/jerod/src/node/hntrends/node_modules/hiredis/build\r\nChecking for program gcc or cc           : /usr/bin/gcc\r\nChecking for program cpp                 : /usr/bin/cpp\r\nChecking for program ar                  : /usr/bin/ar\r\nChecking for program ranlib              : /usr/bin/ranlib\r\nChecking for gcc                         : ok \r\nChecking for program g++ or c++          : /usr/bin/g++\r\nChecking for g++                         : ok \r\nChecking for node path                   : ok /usr/local/lib/node_modules\r\nChecking for node prefix                 : ok /usr/local/Cellar/node/0.6.4\r\n'configure' finished successfully (0.061s)\r\nWaf: Entering directory `/Users/jerod/src/node/hntrends/node_modules/hiredis/build'\r\n[1/7] cc: deps/hiredis/sds.c -> build/Release/deps/hiredis/sds_1.o\r\n[2/7] cc: deps/hiredis/net.c -> build/Release/deps/hiredis/net_1.o\r\n[3/7] cc: deps/hiredis/hiredis.c -> build/Release/deps/hiredis/hiredis_1.o\r\n[4/7] static_link: build/Release/deps/hiredis/sds_1.o build/Release/deps/hiredis/net_1.o build/Release/deps/hiredis/hiredis_1.o -> build/Release/libhiredis.a\r\n[5/7] cxx: hiredis.cc -> build/Release/hiredis_2.o\r\n[6/7] cxx: reader.cc -> build/Release/reader_2.o\r\n[7/7] cxx_link: build/Release/hiredis_2.o build/Release/reader_2.o -> build/Release/hiredis.node\r\nld: warning: directory not found for option '-Ldefault'\r\nld: library not found for -lhiredis\r\ncollect2: ld returned 1 exit status\r\nWaf: Leaving directory `/Users/jerod/src/node/hntrends/node_modules/hiredis/build'\r\nBuild failed:  -> task failed (err #1): \r\n        {task: cxx_link hiredis_2.o,reader_2.o -> hiredis.node}\r\nnpm ERR! error installing hiredis@0.1.10 Error: hiredis@0.1.10 preinstall: `node-waf configure build`\r\nnpm ERR! error installing hiredis@0.1.10 `sh \"-c\" \"node-waf configure build\"` failed with 1\r\nnpm ERR! error installing hiredis@0.1.10     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/exec.js:49:20)\r\nnpm ERR! error installing hiredis@0.1.10     at ChildProcess.emit (events.js:70:17)\r\nnpm ERR! error installing hiredis@0.1.10     at maybeExit (child_process.js:359:16)\r\nnpm ERR! error installing hiredis@0.1.10     at Process.onexit (child_process.js:395:5)\r\nnpm ERR! hiredis@0.1.10 preinstall: `node-waf configure build`\r\nnpm ERR! `sh \"-c\" \"node-waf configure build\"` failed with 1\r\nnpm ERR!\r\nnpm ERR! Failed at the hiredis@0.1.10 preinstall script.\r\nnpm ERR! This is most likely a problem with the hiredis package,\r\nnpm ERR! not with npm itself.\r\n```\r\n\r\nAny help would be much appreciated.","assignee":null,"id":2437872,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":7,"title":"npm linking error","html_url":"https://github.com/pietern/hiredis-node/issues/7","closed_at":null,"url":"https://api.github.com/repos/pietern/hiredis-node/issues/7","milestone":null},"action":"opened"}