CraZySacX / node-jdbc

JDBC Wrapper for node.js
140 stars 107 forks source link

Load nodejavabridge bindings.node err Error In Suse 12 #239

Open soulxy opened 1 year ago

soulxy commented 1 year ago

Load nodejavabridge bindings.node err Error In Suse 12

load nodejavabridge_bindings.node err :
Error: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /opt/oss/envs/Product-Website/23.0.12/service/nodejava/bin/x86/nodejavabridge_bindings.node)
    at Module._extensions..node (node:internal/modules/cjs/loader:1340:18)
    at Module.load (node:internal/modules/cjs/loader:1119:32)
    at Module._load (node:internal/modules/cjs/loader:960:12)
    at Module.require (node:internal/modules/cjs/loader:1143:19)
    at require (node:internal/modules/cjs/helpers:110:18)
    at ./node_modules/java/lib/nodeJavaBridge.js (/opt/oss/envs/Product-Website/23.0.12/service/dist/node/atlas/launcher.js:201:147483)
    at n (/opt/oss/envs/Product-Website/23.0.12/service/dist/node/atlas/launcher.js:1:124)
    at ./node_modules/java/index.js (/opt/oss/envs/Product-Website/23.0.12/service/dist/node/atlas/launcher.js:201:146584)
    at n (/opt/oss/envs/Product-Website/23.0.12/service/dist/node/atlas/launcher.js:1:124)
    at ./node_modules/jdbc/lib/jinst.js (/opt/oss/envs/Product-Website/23.0.12/service/dist/node/atlas/launcher.js:201:193187) {
  code: 'ERR_DLOPEN_FAILED'
}

In Suse 12, Use the strings /usr/lib64/libstdc++.so.6 |grep GLIBC to check the prompt for the highest version up to `GLIBCXX_3.4.25. Can JDBC support compatibility with SUSE 12?Because I cannot upgrade the SUSE system, I must use Node.js 18. OS: SUSE Linux Enterprise Server 12 SP5 (x86_64) - Kernel \r (\l). Nodejs:18.14.1 Jdbc:0.7.6