Version `GLIBC_2.25' not found

Hello,
I install lastest source on Centos 7.
run : sudo npm install => ok
run : node index.js => error

this error

node node/index.js
Honeyside © 2020
Welcome to Clover
internal/modules/cjs/loader.js:1144
return process.dlopen(module, path.toNamespacedPath(filename));
^

Error: /lib64/libc.so.6: version `GLIBC_2.25’ not found (required by /xxxx/chat/node/node_modules/argon2/lib/binding/napi-v3/argon2.node)
at Object.Module._extensions…node (internal/modules/cjs/loader.js:1144:18)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:101:18)
at Object. (/home/web/public/chat/node/node_modules/argon2/argon2.js:12:5)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:101:18)
at Object. (/home/web/public/chat/node/src/routes/login.js:2:16)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:101:18)
at Object. (/home/web/public/chat/node/src/routes/index.js:9:23)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:1114:10) {
code: ‘ERR_DLOPEN_FAILED’
}

Hello and welcome to Honeyside!

CentOS 7 is not an officially supported operating system, but we’ll try to help you.

Based on your error, I think you should run:

sudo yum groupinstall 'Development Tools'

Have a sweet day!

1 Like

Yes, i already install by you command but it sill error.

You’ll need to remove node_modules and install them again after running the command. Did you do this too?

1 Like

Yes, i deleted node_modules and package-lock.json, clear cache npm. and run npm install, it ok. but wen run node index, it error again

Try running the following command in the Clover folder:

npm rebuild argon2 --build-from-source

Source: Broken argon2.node on RHEL7 · Issue #276 · ranisalt/node-argon2 · GitHub

1 Like

Yup, i installed source.
When i using function call or video call, it show error. pls hepl me
port bind failed due to address not available [transport:tcp, ip:‘xxxx.xxxx.xxx.xxx’, port:25986, attempt:1/55536] [method:router.createWebRtcTransport]

In the config.js file you need to specify the ip address of the machine.

If your machine does not have a public ip address, but a mapped one, then it’s not supported. But you can try the following workaround: edit src/defaults.js setting ip: '0.0.0.0' and announcedIp: 'your-public-ip'

Also make sure that all ports 3000+ are open on both udp and tcp

1 Like

Finally, it done. Great.
Thanks.

1 Like

De nada! Was it a public or mapped address?

1 Like