Hi guys,
I got the following error when install iconv pkg. It seems that gyp: Call
to 'node -e "require('nan')"' returned exit status 0 , which seems fine but
node-gpy rebuild still exit with error code 1. I already
installed nodejs-legacy package but doesn't solve the issue. My OS is
ubuntu 13.10 64 bit with python 2.7.5. node version is 0.10.15. Any help
is much appreciated !
Weide
[12:15:41 qiong-h8-1234]% which -a node
/usr/bin/node
[12:11:23 qiong-h8-1234]% sudo npm install -g iconv
~
[sudo] password for qiong:
/usr/bin/nodejs: /usr/local/lib/libcrypto.so.1.0.0: no version information
available (required by /usr/bin/nodejs)
/usr/bin/nodejs: /usr/local/lib/libssl.so.1.0.0: no version information
available (required by /usr/bin/nodejs)
/usr/bin/nodejs: /usr/local/lib/libssl.so.1.0.0: no version information
available (required by /usr/bin/nodejs)
npm http GET https://registry.npmjs.org/iconv
npm http 304 https://registry.npmjs.org/iconv
npm http GET https://registry.npmjs.org/nan
npm http 304 https://registry.npmjs.org/nan
> [email protected] install /usr/local/lib/node_modules/iconv
> node-gyp rebuild
nodejs: /usr/local/lib/libcrypto.so.1.0.0: no version information available
(required by nodejs)
nodejs: /usr/local/lib/libssl.so.1.0.0: no version information available
(required by nodejs)
nodejs: /usr/local/lib/libssl.so.1.0.0: no version information available
(required by nodejs)
node dir/usr/include/nodejs
node: /usr/local/lib/libcrypto.so.1.0.0: no version information available
(required by node)
node: /usr/local/lib/libssl.so.1.0.0: no version information available
(required by node)
node: /usr/local/lib/libssl.so.1.0.0: no version information available
(required by node)
gyp: Call to 'node -e "require('nan')"' returned exit status 0. while
trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit
(/usr/share/node-gyp/lib/configure.js:432:16)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit
(child_process.js:789:12)
gyp ERR! System Linux 3.11.0-26-generic
gyp ERR! command "nodejs" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/iconv
gyp ERR! node -v v0.10.15
gyp ERR! node-gyp -v v0.10.9
gyp ERR! not ok
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! `sh "-c" "node-gyp rebuild"` failed with 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the iconv package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls iconv
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.11.0-26-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "iconv"
npm ERR! cwd /home/qiong
npm ERR! node -v v0.10.15
npm ERR! npm -v 1.2.18
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/qiong/npm-debug.log
npm ERR! not ok code 0
--
Job board: http://jobs.nodejs.org/
New group rules:
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
---
You received this message because you are subscribed to the Google Groups
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/nodejs/1f1e297b-51cd-4377-baca-b2f01dfbf184%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.