Node 12 breaks oracledb in rule


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: “ cannot open shared object file: No such file or directory”. See for help Node-oracledb installation instructions: 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

Rule code is :

           var oracledb = require('oracledb');
    		oracledb.outFormat = oracledb.OBJECT;

    			user: 'xxxx',
    			password: 'xxxx',
    			connectString: "xxxxxxx" /

What can I do ?