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

Nightly Build Missing Module & GLIBC_2.29 #11248

Open
1 of 2 tasks
gejianxin opened this issue Apr 19, 2024 · 1 comment
Open
1 of 2 tasks

Nightly Build Missing Module & GLIBC_2.29 #11248

gejianxin opened this issue Apr 19, 2024 · 1 comment
Assignees
Labels
build Build & Development

Comments

@gejianxin
Copy link

Search first

  • I searched and no similar issues were found

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.

admin@PC:~/Documents/software/logseq/Logseq-linux-arm64$ ldd --version
ldd (GNU libc) 2.39

Here is the whole messages that terminal output:

Error: Cannot find module '@logseq/rsapi-wasm32-wasi'
Require stack:
- /home/admin/Documents/software/logseq/Logseq-linux-arm64/resources/app/node_modules/@logseq/rsapi/index.js
- /home/admin/Documents/software/logseq/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/admin/Documents/software/logseq/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/admin/Documents/software/logseq/Logseq-linux-arm64/resources/app/node_modules/@logseq/rsapi/index.js',
    '/home/admin/Documents/software/logseq/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/admin/Documents/software/logseq/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/admin/Documents/software/logseq/Logseq-linux-arm64/resources/app/node_modules/@logseq/rsapi/index.js:251:31)
    at Module._compile (node:internal/modules/cjs/loader:1271:14)
[2379:0419/151731.137154:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization

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.

  • I'm willing to submit a PR (Thank you!)
@andelf andelf self-assigned this Apr 19, 2024
@andelf andelf added the build Build & Development label Apr 19, 2024
@Aoczs
Copy link

Aoczs commented Apr 25, 2024

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?

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

No branches or pull requests

3 participants