node-oracledb-for-lambda
node-oracledb-for-lambda copied to clipboard
Error: libclntsh.so.12.1: cannot open shared object file: No such file or directory
I installed the package by
npm install oracledb-for-lambda --save
After which I wrote a small index.js that is only trying to make connection to see how this works.
But I see the error:-
Error: libclntsh.so.12.1: cannot open shared object file: No such file or directory
at Error (native)
at Object.Module._extensions..node (module.js:597:18)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/home/user/ExpNode/node_modules/oracledb-for-lambda/lib/oracledb.js:35:19)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
Do you know what might be wrong here? Usage is a little awry. Can you please tell us how to use it correctly?