Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: /lib64/libc.so.6: version `GLIBC_2.25' not found #14

Open
bruceauyeung opened this issue Sep 21, 2022 · 1 comment
Open

Error: /lib64/libc.so.6: version `GLIBC_2.25' not found #14

bruceauyeung opened this issue Sep 21, 2022 · 1 comment

Comments

@bruceauyeung
Copy link

bruceauyeung commented Sep 21, 2022

# rpm -qa|grep glibc
glibc-2.17-292.el7.cgslv5.0.1.gf7a2c7a.i686
glibc-headers-2.17-292.el7.cgslv5.0.1.gf7a2c7a.x86_64
glibc-common-2.17-292.el7.cgslv5.0.1.gf7a2c7a.x86_64
compat-glibc-headers-2.12-4.el7.centos.x86_64
glibc-static-2.17-292.el7.cgslv5.0.1.gf7a2c7a.x86_64
glibc-devel-2.17-292.el7.cgslv5.0.1.gf7a2c7a.i686
compat-glibc-2.12-4.el7.centos.x86_64
glibc-devel-2.17-292.el7.cgslv5.0.1.gf7a2c7a.x86_64
glibc-2.17-292.el7.cgslv5.0.1.gf7a2c7a.x86_64
# /opt/myprogram/myprogram --no-sandbox
fn:/opt/myprogram/resources/app.asar/node_modules/ced/index.js
module_root:/opt/myprogram/resources/app.asar/node_modules/ced
A JavaScript error occurred in the main process
Uncaught Exception:
Error: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by /tmp/.org.chromium.Chromium.O5tS9C)
at process.func [as dlopen] (node:electron/js2c/asar_bundle:5:1812)
at Object.Module._extensions..node (node:internal/modules/cjs/loader:1199:18)
at Object.func [as .node] (node:electron/js2c/asar_bundle:5:2039)
at Module.load (node:internal/modules/cjs/loader:988:32)
at Module._load (node:internal/modules/cjs/loader:829:12)
at Function.c._load (node:electron/js2c/asar_bundle:5:13343)
at Module.require (node:internal/modules/cjs/loader:1012:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/opt/myprogram/resources/app.asar/node_modules/node-screenshots/index.js:174:31)
at Module._compile (node:internal/modules/cjs/loader:1116:14)
[24984:0921/120247.946719:ERROR:viz_main_impl.cc(188)] Exiting GPU process due to errors during initialization
[25001:0921/120247.991007:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.

OS: a customized distro,possibly based on centos7.

would you please lower glibc version for compiling node-screenshots ?
or provide a way to let us compile from source ?

@nashaofu
Copy link
Owner

nashaofu commented Sep 21, 2022

Can you run the following program on the computer that reported the error? Maybe my dependency uses the corresponding version of glibc.

const fs = require('fs')
const { Screenshots } = require('node-screenshots')

let capturer = Screenshots.fromPoint(100, 100)

capturer.capture().then(console.log)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants