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

GLIBC 2.28? #122

Open
dmarkh opened this issue Oct 27, 2023 · 3 comments
Open

GLIBC 2.28? #122

dmarkh opened this issue Oct 27, 2023 · 3 comments

Comments

@dmarkh
Copy link

dmarkh commented Oct 27, 2023

Dear developers,
Is it possible to release the Linux version of this excellent library compiled with GLIBC 2.28 instead of GLIBC 2.29? RedHat 8 is going to be maintained until 2029, and it only has GLIBC 2.28
Thanks!

A JavaScript error occurred in the main process
Uncaught Exception:
Error: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by /<...skip...>/resources/app/node_modules/steamworks.js/dist/linux64/steamworksjs.linux-x64-gnu.node)
    at process.func [as dlopen] (node:electron/js2c/asar_bundle:2:2131)
    at Object.<anonymous> (node:internal/modules/cjs/loader:1356:18)
    at Object.func [as .node] (node:electron/js2c/asar_bundle:2:2131)
    at Module.load (node:internal/modules/cjs/loader:1126:32)
    at node:internal/modules/cjs/loader:967:12
    at Function._load (node:electron/js2c/asar_bundle:2:13327)
    at Module.require (node:internal/modules/cjs/loader:1150:19)
    at require (node:internal/modules/cjs/helpers:110:18)
    at Object.<anonymous> (/<...skip...>/resources/app/node_modules/steamworks.js/index.js:10:21)
    at Module._compile (node:internal/modules/cjs/loader:1271:14)
@ceifa
Copy link
Owner

ceifa commented Nov 24, 2023

To be honest I don't know where the GLIBC comes from, probably from Rust or the Steamworks SDK itself.

@dmarkh
Copy link
Author

dmarkh commented Nov 25, 2023

Well, Steam SDK is fine, and Electron is also using sufficiently old GLIBC. Here, it is something that steamworks.js compiles to binary for each system:
/dist/linux64/steamworksjs.linux-x64-gnu.node
I have not checked the sources yet, but it seems like JS-to-Steam bindings of steamworks.js

@ceifa
Copy link
Owner

ceifa commented Nov 25, 2023

Well, Steam SDK is fine, and Electron is also using sufficiently old GLIBC. Here, it is something that steamworks.js compiles to binary for each system: /dist/linux64/steamworksjs.linux-x64-gnu.node I have not checked the sources yet, but it seems like JS-to-Steam bindings of steamworks.js

Yes, just found out it is from napi-rs, probably from the zig compiler

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