abbr / deasync

Turns async function into sync via JavaScript wrapper of Node event loop
MIT License
964 stars 73 forks source link

Node 16 binding - Error: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found #165

Closed AndyOGo closed 2 years ago

AndyOGo commented 2 years ago

With node 16 I get this error. When I switch back to node 14 everything works fine 🤔

Error: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by ../node_modules/deasync/bin/linux-x64-node-16/deasync.node)
    at Object.Module._extensions..node (node:internal/modules/cjs/loader:1183:18)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (../node_modules/deasync/index.js:30:12)
    at Module._compile (node:internal/modules/cjs/loader:1101:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12) {
  code: 'ERR_DLOPEN_FAILED'
}

deasync is used by Parcel 1. https://github.com/parcel-bundler/parcel/issues/5294

System info

node -v
v16.13.0

npm -v
8.1.0

cat /etc/os-release
NAME="Red Hat Enterprise Linux Server"
VERSION="7.9 (Maipo)"
ID="rhel"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="7.9"
PRETTY_NAME="Red Hat Enterprise Linux"

uname -r
3.10.0-1160.59.1.el7.x86_64
abbr commented 2 years ago

Is it on Centos7?

AndyOGo commented 2 years ago

@abbr I'm on Red Hat Enterprise Linux Server 7.9. I updated my description above.

abbr commented 2 years ago

Should be fixed with v0.1.25 just published.

AndyOGo commented 2 years ago

@abbr Thank you very much, I just tested it and it works now :)