Re: [nodejs] node-gyp: gyp ERR! cannot load shared libpython2.7.so.1.0

2014-03-04 Thread Nathan Rajlich
v0.13.0 of node-gyp should have this fixed. Thanks for reporting! On Thursday, September 19, 2013 5:47:17 AM UTC-7, deng@gmail.com wrote: Hi group- Finally, after 2 days of consecutive tracing and debugging, I had this sorted. However, I am not sure if this is due to my customized

Re: [nodejs] node-gyp: gyp ERR! cannot load shared libpython2.7.so.1.0

2013-09-19 Thread deng . x . feng
Hi group- Finally, after 2 days of consecutive tracing and debugging, I had this sorted. However, I am not sure if this is due to my customized installation of Python. I updated the code below in ~node_modules/node-gyp/lib/configure.js (changed original as in commented line 93 to 94: 93

[nodejs] node-gyp: gyp ERR! cannot load shared libpython2.7.so.1.0

2013-09-17 Thread deng . x . feng
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

Re: [nodejs] node-gyp: gyp ERR! cannot load shared libpython2.7.so.1.0

2013-09-17 Thread Jose Luis Rivas
On 09/17/2013 12:51 PM, deng.x.f...@gmail.com wrote: ~/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:

Re: [nodejs] node-gyp: gyp ERR! cannot load shared libpython2.7.so.1.0

2013-09-17 Thread deng . x . feng
Thanks Jose. But I built the python from source and had a customized installation. And libpython2.7.so.1.0 is presented in the following:$PYTHONPATH as well as $LD_LIBRARY_PATH. Does node or node-gyp search a rather different environment virable for shared libraries? I also specifed the