.deb for ARM is not opening #2302
Replies: 4 comments 21 replies
|
Hi @swrdfshii! I'm Dosu and I’m helping the Notes team. This error is likely caused by a GLIBC version mismatch: the .deb package was built on a system with a newer GLIBC than what’s available in Debian Bookworm, which breaks native modules like better-sqlite3 on ARM64. This is a known issue and affects both x64 and ARM64 builds of TriliumNext Notes on Debian-based systems. The missing better_sqlite3.node is a symptom of this incompatibility, not a missing file from your install reference. A reliable workaround is to use the flatpak version of TriliumNext, which avoids these GLIBC issues. You can download the flatpak from the releases page and install it with: Alternatively, the latest nightly build is reported to be stable and may have improved compatibility for ARM64 and Debian Bookworm reference. If you want to keep using the .deb, you’d need a build created on a system with the same (or older) GLIBC as your OS, but currently the flatpak or nightly are the most straightforward solutions. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
|
Hey there, can you tell us more information about the device / CPU that you're trying to run it on? |
|
Hey @swrdfshii can you give me the output of the following commands to tell me more about the OS and kernel you're using: They should output something like: |
|
Since this is an actual problem with the build mechanism, we'll handle it in https://github.com/TriliumNext/Notes/issues/2325. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
hi folks,
Wishing you well. I am attempting to install Trilium in Bookworm on ARM64.
I downloaded the .deb and installed it running:
sudo dpkg -i TriliumNextNotes-v0.94.1-linux-arm64.debwhich appears to be successful.
If I click on the Trilium app icon from the GUI, nothing happens. If I try to run it from the terminal, I get this:
~ $ trilium A JavaScript error occurred in the main process Uncaught Exception: Error: /usr/lib/trilium/resources/app.asar.unpacked/node_modules/better-sqlite3/build/Release/better_sqlite3.node: cannot open shared object file: No such file or directory at process.func [as dlopen] (node:electron/js2c/node_init:2:2569) at Module._extensions..node (node:internal/modules/cjs/loader:1930:18) at Object.func [as .node] (node:electron/js2c/node_init:2:2796) at Module.load (node:internal/modules/cjs/loader:1472:32) at Module._load (node:internal/modules/cjs/loader:1289:12) at c._load (node:electron/js2c/node_init:2:17950) at TracingChannel.traceSync (node:diagnostics_channel:322:14) at wrapModuleLoad (node:internal/modules/cjs/loader:242:24) at Module.require (node:internal/modules/cjs/loader:1494:12) at require (node:internal/modules/helpers:135:16) [7534:0612/232358.426838:ERROR:ui/gfx/linux/gbm_wrapper.cc:79] Failed to get fd for plane.: No such file or directory (2) [7534:0612/232358.427009:ERROR:ui/gfx/linux/gbm_wrapper.cc:261] Failed to export buffer to dma_buf: No such file or directory (2) [7534:0612/232358.427103:ERROR:ui/gfx/linux/gbm_wrapper.cc:79] Failed to get fd for plane.: No such file or directory (2) [7534:0612/232358.427151:ERROR:ui/gfx/linux/gbm_wrapper.cc:261] Failed to export buffer to dma_buf: No such file or directory (2) [7534:0612/232358.427218:ERROR:ui/gfx/linux/gbm_wrapper.cc:79] Failed to get fd for plane.: No such file or directory (2) [7534:0612/232358.427260:ERROR:ui/gfx/linux/gbm_wrapper.cc:261] Failed to export buffer to dma_buf: No such file or directory (2) [7534:0612/232358.427324:ERROR:ui/gfx/linux/gbm_wrapper.cc:79] Failed to get fd for plane.: No such file or directory (2) [7534:0612/232358.427365:ERROR:ui/gfx/linux/gbm_wrapper.cc:261] Failed to export buffer to dma_buf: No such file or directory (2) [7534:0612/232358.427427:ERROR:ui/gfx/linux/gbm_wrapper.cc:79] Failed to get fd for plane.: No such file or directory (2) [7534:0612/232358.427472:ERROR:ui/gfx/linux/gbm_wrapper.cc:261] Failed to export buffer to dma_buf: No such file or directory (2) [7534:0612/232358.427532:ERROR:ui/gfx/linux/gbm_wrapper.cc:79] Failed to get fd for plane.: No such file or directory (2) [7534:0612/232358.427572:ERROR:ui/gfx/linux/gbm_wrapper.cc:261] Failed to export buffer to dma_buf: No such file or directory (2) [7534:0612/232358.427635:ERROR:ui/gfx/linux/gbm_wrapper.cc:79] Failed to get fd for plane.: No such file or directory (2) [7534:0612/232358.427675:ERROR:ui/gfx/linux/gbm_wrapper.cc:261] Failed to export buffer to dma_buf: No such file or directory (2) [7534:0612/232358.427736:ERROR:ui/gfx/linux/gbm_wrapper.cc:79] Failed to get fd for plane.: No such file or directory (2) [7534:0612/232358.427776:ERROR:ui/gfx/linux/gbm_wrapper.cc:261] Failed to export buffer to dma_buf: No such file or directory (2) [7534:0612/232358.429281:ERROR:ui/gfx/linux/gbm_wrapper.cc:79] Failed to get fd for plane.: No such file or directory (2) [7534:0612/232358.429339:ERROR:ui/gfx/linux/gbm_wrapper.cc:261] Failed to export buffer to dma_buf: No such file or directory (2) [7534:0612/232358.429409:ERROR:ui/gfx/linux/gbm_wrapper.cc:79] Failed to get fd for plane.: No such file or directory (2) [7534:0612/232358.429450:ERROR:ui/gfx/linux/gbm_wrapper.cc:261] Failed to export buffer to dma_buf: No such file or directory (2) [7534:0612/232358.429510:ERROR:ui/gfx/linux/gbm_wrapper.cc:79] Failed to get fd for plane.: No such file or directory (2) [7534:0612/232358.429552:ERROR:ui/gfx/linux/gbm_wrapper.cc:261] Failed to export buffer to dma_buf: No such file or directory (2) [7534:0612/232358.429613:ERROR:ui/gfx/linux/gbm_wrapper.cc:79] Failed to get fd for plane.: No such file or directory (2) [7534:0612/232358.429653:ERROR:ui/gfx/linux/gbm_wrapper.cc:261] Failed to export buffer to dma_buf: No such file or directory (2) [7534:0612/232358.429714:ERROR:ui/gfx/linux/gbm_wrapper.cc:79] Failed to get fd for plane.: No such file or directory (2) [7534:0612/232358.429755:ERROR:ui/gfx/linux/gbm_wrapper.cc:261] Failed to export buffer to dma_buf: No such file or directory (2) [7534:0612/232358.429816:ERROR:ui/gfx/linux/gbm_wrapper.cc:79] Failed to get fd for plane.: No such file or directory (2) [7534:0612/232358.429856:ERROR:ui/gfx/linux/gbm_wrapper.cc:261] Failed to export buffer to dma_buf: No such file or directory (2) [7534:0612/232358.429914:ERROR:ui/gfx/linux/gbm_wrapper.cc:79] Failed to get fd for plane.: No such file or directory (2) [7534:0612/232358.429953:ERROR:ui/gfx/linux/gbm_wrapper.cc:261] Failed to export buffer to dma_buf: No such file or directory (2) [7534:0612/232358.430013:ERROR:ui/gfx/linux/gbm_wrapper.cc:79] Failed to get fd for plane.: No such file or directory (2) [7534:0612/232358.430052:ERROR:ui/gfx/linux/gbm_wrapper.cc:261] Failed to export buffer to dma_buf: No such file or directory (2)Any thoughts?
Thanks in advance!
All reactions