Open gejianxin opened 4 weeks ago
Almost same problem in UOS 20 arm64, but my GLIBC version is 2.28.
Error: Cannot find module '@logseq/rsapi-wasm32-wasi'
Require stack:
- /home/aoczs/appimages/Logseq-linux-arm64/resources/app/node_modules/@logseq/rsapi/index.js
- /home/aoczs/appimages/Logseq-linux-arm64/resources/app/electron.js
-
at node:internal/modules/cjs/loader:1084:15
at Function._resolveFilename (node:electron/js2c/browser_init:2:116646)
at node:internal/modules/cjs/loader:929:27
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:121:18)
at Object.<anonymous> (/home/aoczs/appimages/Logseq-linux-arm64/resources/app/node_modules/@logseq/rsapi/index.js:317:23)
at Module._compile (node:internal/modules/cjs/loader:1271:14)
at Object..js (node:internal/modules/cjs/loader:1326:10)
at Module.load (node:internal/modules/cjs/loader:1126:32) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/home/aoczs/appimages/Logseq-linux-arm64/resources/app/node_modules/@logseq/rsapi/index.js',
'/home/aoczs/appimages/Logseq-linux-arm64/resources/app/electron.js',
undefined
]
}
A JavaScript error occurred in the main process
Uncaught Exception:
Error: /lib/aarch64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /home/aoczs/appimages/Logseq-linux-arm64/resources/app/node_modules/@logseq/rsapi-linux-arm64-gnu/rsapi.linux-arm64-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:121:18)
at Object.<anonymous> (/home/aoczs/appimages/Logseq-linux-arm64/resources/app/node_modules/@logseq/rsapi/index.js:251:31)
at Module._compile (node:internal/modules/cjs/loader:1271:14)
I find that #10832 refined build to support old version GLIBC. Is there a correlation between these two issues?
Search first
What Happened?
Execute logseq application, encounter with some error messages. One is missing module '@logseq/rsapi-wasm32-wasi', the other is for `GLIBC_2.29' not found.
But I have already installed glibc-2.39, here is "ldd" command output.
Here is the whole messages that terminal output:
Reproduce the Bug
Just execute logseq application
Expected Behavior
No response
Screenshots
No response
Desktop or Mobile Platform Information
OS: UOS Desktop 20 PRO Linux Kernel Version: 5.4.96 Architecture: arm64 App Version: Nightly Release 20240419
Additional Context
No response
Are you willing to submit a PR? If you know how to fix the bug.