Hello,
In a rule I get roles for a user from a sql query in an oracle database.
My node version is deprecated (Node 8), i have the warning raised by auth0 console but when I tried to switch to Node 12 the rule is failing with
Error: DPI-1047: Cannot locate a 64-bit Oracle Client library: “libclntsh.so: cannot open shared object file: No such file or directory”. See ODPI-C Installation — ODPI-C v4.6.0 for help Node-oracledb installation instructions: Installing node-oracledb Version 5.5.0 | node-oracledb You must have 64-bit Oracle client libraries in LD_LIBRARY_PATH, or configured with ldconfig. If you do not have Oracle Database on this computer, then install the Instant Client Basic or Basic Light package from Instant Client for Linux x86-64 (64-bit)
Rule code is :
var oracledb = require('oracledb');
oracledb.outFormat = oracledb.OBJECT;
oracledb.getConnection({
user: 'xxxx',
password: 'xxxx',
connectString: "xxxxxxx" /
}
What can I do ?
thanks