Hi group:

I am trying to build the hello world c++ addon for node js. Both node.js 
and node-gyp seem have been installed successfully into a redhat linux. 
However when I ran "node-gyp configure", it gave the following error. I 
failed to get any insightful information by gooling as well as from the 
wiki page. Can you please kindly advise?

Thanks in advance.


~/examples/node.js/my_node_addon-1[13:14]% node-gyp configure
gyp info it worked if it ends with ok
gyp info using node-gyp\@0.10.10
gyp info using node\@0.10.18 | linux | x64
gyp ERR! configure error
gyp ERR! stack Error: Command failed: python: error while loading shared 
libraries: *libpython2.7.so.1.0*: cannot open shared object file: No such 
file or directory
gyp ERR! stack
gyp ERR! stack     at ChildProcess.exithandler (child_process.js:637:15)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack     at maybeClose (child_process.js:735:16)
gyp ERR! stack     at Socket.<anonymous> (child_process.js:948:11)
gyp ERR! stack     at Socket.EventEmitter.emit (events.js:95:17)
gyp ERR! stack     at Pipe.close (net.js:466:12)
gyp ERR! System Linux 2.6.18-194.32.1.el5
gyp ERR! command "node" "/work/dengf/conf/bin/node-gyp" "configure"
gyp ERR! cwd /home/dengf/examples/node.js/my_node_addon
gyp ERR! node -v v0.10.18
gyp ERR! node-gyp -v v0.10.10
gyp ERR! not ok

*But when I run python alone it loads the shared lib just fine:*
~/examples/node.js/my_node_addon-1[13:14]% python -V
Python 2.7.3

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to