oracle / node-oracledb

Oracle Database driver for Node.js maintained by Oracle Corp.
http://oracle.github.io/node-oracledb/
Other
2.25k stars 1.07k forks source link

Error: NJS-045: cannot load the oracledb add-on binary for Node.js 8.17.0 (darwin, x64) #1491

Closed pc-jdk closed 2 years ago

pc-jdk commented 2 years ago
  1. What versions are you using?
  1. Describe the problem.

Error: NJS-045: cannot load the oracledb add-on binary for Node.js 8.17.0 (darwin, x64) Cannot load /Users/Documents/Project Repo/value-api/node_modules/oracledb/build/Release/oracledb.node DPI-1050: Oracle Client library is at version 11.2 but must be at version 0.0 or higher Node-oracledb installation instructions: https://oracle.github.io/node-oracledb/INSTALL.html You must have the 64-bit Oracle Instant Client Basic or Basic Light package in ~/lib or /usr/local/lib They can be downloaded from http://www.oracle.com/technetwork/topics/intel-macsoft-096467.html

  1. Are you installing into vanilla Node.js, or using something like Electron? Nodejs version 8.17.0
  2. Show the directory listing where your Oracle Client libraries are installed (e.g. the Instant Client directory). Is it 64-bit or 32-bit?

Oracledb instant client version 19_8 (64X)

Inserted .dylib files in usr/local/lib

  1. Show what the PATH environment variable (on Windows) or LD_LIBRARY_PATH (on Linux) are set to?

  2. Show any Oracle environment variables set (e.g. ORACLE_HOME, ORACLE_BASE).

cjbj commented 2 years ago

Is this a duplicate of https://stackoverflow.com/questions/71655549/oracledb-add-on-binary-for-node-js-8-17-0-mac-64-intel/71668915#71668915 ? See my answer there.

stale[bot] commented 2 years ago

This issue has been automatically marked as inactive because it has not been updated recently. It will be closed if no further activity occurs. Thank you for your contributions.