Skip to content

Error installing #318

@turbobuilt

Description

@turbobuilt

Hello,

I'm trying to install oracledb on a Fedora machine that has oracle 12c (12.1.0.2) and nodejs v4.2.1 node-gyp -v v3.0.3 installed on it. I'm installing from user oracle. Relevant info:

echo $ORACLE_HOME
/u01/app/oracle/product/12.1.0.2/db_1

stat $OCI_LIB_DIR/libclntsh.so
  File: '/u01/app/oracle/product/12.1.0.2/db_1/lib/libclntsh.so' -> '/u01/app/oracle/product/12.1.0.2/db_1/lib/libclntsh.so.12.1'
  Size: 59              Blocks: 0          IO Block: 4096   symbolic link
Device: b8h/184d        Inode: 41739121    Links: 1
Access: (0777/lrwxrwxrwx)  Uid: (54321/  oracle)   Gid: (54321/oinstall)
Access: 2016-01-05 19:00:03.334203482 -0500
Modify: 2015-11-20 16:59:42.778155921 -0500
Change: 2015-11-20 16:59:42.778155921 -0500
 Birth: -

error is below, is given when i run the command sudo -E npm install oracledb

Any idea what the problem might be? The output is below:

gyp: Call to 'INSTURL="https://github.com/oracle/node-oracledb/blob/master/INSTALL.md"; ERR="node-oracledb ERR! Error:"; if [ -z $OCI_LIB_DIR ]; then OCI_LIB_DIR=`ls -d /usr/lib/oracle/*/client*/lib/libclntsh.* 2> /dev/null | tail -1 | sed -e 's#/libclntsh[^/]*##'`; if [ -z $OCI_LIB_DIR ]; then if [ -z "$ORACLE_HOME" ]; then if [ -f /opt/oracle/instantclient/libclntsh.so ]; then echo "/opt/oracle/instantclient/"; else echo "$ERR Cannot find Oracle library libclntsh.so" >&2; echo "$ERR See $INSTURL" >&2; echo "" >&2; fi; else if [ -f "$ORACLE_HOME/lib/libclntsh.so" ]; then echo $ORACLE_HOME/lib; else echo "$ERR Cannot find \$ORACLE_HOME/lib/libclntsh.so" >&2; echo "$ERR See $INSTURL" >&2; echo "" >&2; fi; fi; else if [ -f "$OCI_LIB_DIR/libclntsh.so" ]; then echo $OCI_LIB_DIR; else echo "$ERR Cannot find \$OCI_LIB_DIR/libclntsh.so" >&2; echo "$ERR See $INSTURL" >&2; echo "" >&2; fi; fi; else if [ -f "$OCI_LIB_DIR/libclntsh.so" ]; then echo $OCI_LIB_DIR; else echo "$ERR Cannot find \$OCI_LIB_DIR/libclntsh.so" >&2; echo "$ERR See $INSTURL" >&2; echo "" >&2; fi; fi;' returned exit status 0. while trying to load binding.gyp

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions