Skip to content

Instantly share code, notes, and snippets.

@smartmouse
Created November 26, 2015 23:00
Show Gist options
  • Save smartmouse/97cd483aa277211eb77a to your computer and use it in GitHub Desktop.
Save smartmouse/97cd483aa277211eb77a to your computer and use it in GitHub Desktop.
RH fail on npm install strong oracle
-bash-4.2$ ls -l lib*
lrwxrwxrwx 1 nodebot nodebot 50 Nov 26 17:37 libclntsh.so -> /home/nodebot/instantclient_12_1/libclntsh.so.12.1
lrwxrwxrwx 1 nodebot nodebot 48 Nov 26 17:36 libocci.so -> /home/nodebot/instantclient_12_1/libocci.so.12.1
-bash-4.2$ export PATH=.:$PATH
-bash-4.2$ echo $LD_LIBRARY_PATH
:/home/nodebot/instantclient_12_1
-bash-4.2$ export LD_LIBRARY_PATH=/home/nodebot/:$LD_LIBRARY_PATH
-bash-4.2$ cd teststrongoracle/
-bash-4.2$ npm install strong-oracle
/
> segfault-handler@0.2.5 install /home/nodebot/teststrongoracle/node_modules/strong-oracle/node_modules/segfault-handler
> node-gyp rebuild
make: Entering directory `/home/nodebot/teststrongoracle/node_modules/strong-oracle/node_modules/segfault-handler/build'
CXX(target) Release/obj.target/segfault-handler/src/segfault-handler.o
SOLINK_MODULE(target) Release/obj.target/segfault-handler.node
COPY Release/segfault-handler.node
make: Leaving directory `/home/nodebot/teststrongoracle/node_modules/strong-oracle/node_modules/segfault-handler/build'
> strong-oracle@1.7.0 install /home/nodebot/teststrongoracle/node_modules/strong-oracle
> node-gyp rebuild
make: Entering directory `/home/nodebot/teststrongoracle/node_modules/strong-oracle/build'
CXX(target) Release/obj.target/oracle_bindings/src/connection.o
CXX(target) Release/obj.target/oracle_bindings/src/oracle_bindings.o
CXX(target) Release/obj.target/oracle_bindings/src/executeBaton.o
CXX(target) Release/obj.target/oracle_bindings/src/outParam.o
CXX(target) Release/obj.target/oracle_bindings/src/reader.o
CXX(target) Release/obj.target/oracle_bindings/src/statement.o
SOLINK_MODULE(target) Release/obj.target/oracle_bindings.node
/usr/bin/ld: cannot find -locci
/usr/bin/ld: cannot find -lclntsh
collect2: error: ld returned 1 exit status
make: *** [Release/obj.target/oracle_bindings.node] Error 1
make: Leaving directory `/home/nodebot/teststrongoracle/node_modules/strong-oracle/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/nodebot/IBMSVT64_128/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:272:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1075:12)
gyp ERR! System Linux 3.10.0-229.14.1.el7.s390x
gyp ERR! command "node" "/home/nodebot/IBMSVT64_128/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/nodebot/teststrongoracle/node_modules/strong-oracle
gyp ERR! node -v v0.12.8
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
npm ERR! Linux 3.10.0-229.14.1.el7.s390x
npm ERR! argv "/home/nodebot/IBMSVT64_128/bin/node" "/home/nodebot/IBMSVT64_128/bin/npm" "install" "strong-oracle"
npm ERR! node v0.12.8
npm ERR! npm v2.14.9
npm ERR! code ELIFECYCLE
npm ERR! strong-oracle@1.7.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the strong-oracle@1.7.0 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the strong-oracle 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 strong-oracle
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/nodebot/teststrongoracle/npm-debug.log
For RH6 failures --
-bash-4.1$ npm install strong-oracle
-
> segfault-handler@0.2.5 install /home/nodebot/teststrongoracle/node_modules/strong-oracle/node_modules/segfault-handler
> node-gyp rebuild
make: Entering directory `/home/nodebot/teststrongoracle/node_modules/strong-oracle/node_modules/segfault-handler/build'
CXX(target) Release/obj.target/segfault-handler/src/segfault-handler.o
SOLINK_MODULE(target) Release/obj.target/segfault-handler.node
COPY Release/segfault-handler.node
make: Leaving directory `/home/nodebot/teststrongoracle/node_modules/strong-oracle/node_modules/segfault-handler/build'
> strong-oracle@1.7.0 install /home/nodebot/teststrongoracle/node_modules/strong-oracle
> node-gyp rebuild
make: Entering directory `/home/nodebot/teststrongoracle/node_modules/strong-oracle/build'
CXX(target) Release/obj.target/oracle_bindings/src/connection.o
CXX(target) Release/obj.target/oracle_bindings/src/oracle_bindings.o
CXX(target) Release/obj.target/oracle_bindings/src/executeBaton.o
CXX(target) Release/obj.target/oracle_bindings/src/outParam.o
CXX(target) Release/obj.target/oracle_bindings/src/reader.o
CXX(target) Release/obj.target/oracle_bindings/src/statement.o
SOLINK_MODULE(target) Release/obj.target/oracle_bindings.node
/usr/bin/ld: cannot find -locci
collect2: ld returned 1 exit status
make: *** [Release/obj.target/oracle_bindings.node] Error 1
make: Leaving directory `/home/nodebot/teststrongoracle/node_modules/strong-oracle/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/nodebot/IBMSVT64_128/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:272:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1075:12)
gyp ERR! System Linux 2.6.32-573.7.1.el6.s390x
gyp ERR! command "node" "/home/nodebot/IBMSVT64_128/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/nodebot/teststrongoracle/node_modules/strong-oracle
gyp ERR! node -v v0.12.8
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
npm ERR! Linux 2.6.32-573.7.1.el6.s390x
npm ERR! argv "/home/nodebot/IBMSVT64_128/bin/node" "/home/nodebot/IBMSVT64_128/bin/npm" "install" "strong-oracle"
npm ERR! node v0.12.8
npm ERR! npm v2.14.9
npm ERR! code ELIFECYCLE
npm ERR! strong-oracle@1.7.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the strong-oracle@1.7.0 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the strong-oracle 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 strong-oracle
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/nodebot/teststrongoracle/npm-debug.log
-bash-4.1$
lrwxrwxrwx 1 nodebot nodebot 50 Nov 26 17:08 libclntsh.so -> /home/nodebot/instantclient_12_1/libclntsh.so.12.1
lrwxrwxrwx 1 nodebot nodebot 48 Nov 26 17:09 libocci.so -> /home/nodebot/instantclient_12_1/libocci.so.12.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment