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

[Bug]: linux x64版本无法打开软件 #1365

Open
2 tasks done
wentywenty opened this issue May 5, 2023 · 2 comments
Open
2 tasks done

[Bug]: linux x64版本无法打开软件 #1365

wentywenty opened this issue May 5, 2023 · 2 comments

Comments

@wentywenty
Copy link

解决方案检查

预期行为

正常打开

实际行为

点打开没反应

Lx Music 版本

2.2.2

最后正常的版本

2.2.1

操作系统版本

ubuntu18.04

附加信息

No response

@mingyuezhaowo
Copy link

遇到了同样的问题,log 如下:
xxx@~ $ lx-music-desktop &
[1] 31773
xxx@~ $ Checking for beta autoupdate feature for deb/rpm distributions
Found package-type: deb
15:55:05.709 › App starting...
init
Error: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.28' not found (required by /tmp/.org.chromium.Chromium.94Z5G1) at process.func [as dlopen] (node:electron/js2c/asar_bundle:2:1822) at Module._extensions..node (node:internal/modules/cjs/loader:1226:18) at Object.func [as .node] (node:electron/js2c/asar_bundle:2:2049) at Module.load (node:internal/modules/cjs/loader:1011:32) at Module._load (node:internal/modules/cjs/loader:846:12) at f._load (node:electron/js2c/asar_bundle:2:13330) at Module.require (node:internal/modules/cjs/loader:1035:19) at require (node:internal/modules/cjs/helpers:102:18) at new Database (/opt/lx-music-desktop/resources/app.asar/node_modules/better-sqlite3/lib/database.js:50:11) at Object.init (/opt/lx-music-desktop/resources/app.asar/dist/dbService.worker.js:380:14) { code: 'ERR_DLOPEN_FAILED' } Unhandled Rejection at: Promise Promise { <rejected> Error: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.28' not found (required by /tmp/.org.chromium.Chromium.94Z5G1)
at process.func [as dlopen] (node:electron/js2c/asar_bundle:2:1822)
at Module._extensions..node (node:internal/modules/cjs/loader:1226:18)
at Object.func [as .node] (node:electron/js2c/asar_bundle:2:2049)
at Module.load (node:internal/modules/cjs/loader:1011:32)
at Module._load (node:internal/modules/cjs/loader:846:12)
at f._load (node:electron/js2c/asar_bundle:2:13330)
at Module.require (node:internal/modules/cjs/loader:1035:19)
at require (node:internal/modules/cjs/helpers:102:18)
at new Database (/opt/lx-music-desktop/resources/app.asar/node_modules/better-sqlite3/lib/database.js:50:11)
at Object.init (/opt/lx-music-desktop/resources/app.asar/dist/dbService.worker.js:388:14)
}
reason: Error: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.28' not found (required by /tmp/.org.chromium.Chromium.94Z5G1) at process.func [as dlopen] (node:electron/js2c/asar_bundle:2:1822) at Module._extensions..node (node:internal/modules/cjs/loader:1226:18) at Object.func [as .node] (node:electron/js2c/asar_bundle:2:2049) at Module.load (node:internal/modules/cjs/loader:1011:32) at Module._load (node:internal/modules/cjs/loader:846:12) at f._load (node:electron/js2c/asar_bundle:2:13330) at Module.require (node:internal/modules/cjs/loader:1035:19) at require (node:internal/modules/cjs/helpers:102:18) at new Database (/opt/lx-music-desktop/resources/app.asar/node_modules/better-sqlite3/lib/database.js:50:11) at Object.init (/opt/lx-music-desktop/resources/app.asar/dist/dbService.worker.js:388:14) 15:55:06.167 › Error: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.28' not found (required by /tmp/.org.chromium.Chromium.94Z5G1)
at process.func [as dlopen] (node:electron/js2c/asar_bundle:2:1822)
at Module._extensions..node (node:internal/modules/cjs/loader:1226:18)
at Object.func [as .node] (node:electron/js2c/asar_bundle:2:2049)
at Module.load (node:internal/modules/cjs/loader:1011:32)
at Module._load (node:internal/modules/cjs/loader:846:12)
at f._load (node:electron/js2c/asar_bundle:2:13330)
at Module.require (node:internal/modules/cjs/loader:1035:19)
at require (node:internal/modules/cjs/helpers:102:18)
at new Database (/opt/lx-music-desktop/resources/app.asar/node_modules/better-sqlite3/lib/database.js:50:11)
at Object.init (/opt/lx-music-desktop/resources/app.asar/dist/dbService.worker.js:388:14)

@lyswhut
Copy link
Owner

lyswhut commented May 12, 2023

系统的glibc版本太低导致的,现在要求GLIBC_2.28才能使用,详情看这里:WiseLibs/better-sqlite3#990,你可以尝试自己构建安装包:
注释掉以下行


执行npm run build && npm run pack:linux:deb:x64构建

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

3 participants