Skip to content

Cross compile from linux/amd64 to linux/arm64 doesn't work in bundled mode #135

Description

@t3chguy

It results runtime errors like

Seshat unexpected error: Error: /home/ubuntu/Downloads/element-desktop-1.11.66-arm64-static/element-desktop-1.11.66-arm64/resources/app.asar.unpacked/node_modules/matrix-seshat/index.node: undefined symbol: sqlite3_changes64
    at process.func [as dlopen] (node:electron/js2c/node_init:2:2214)
    at Module._extensions..node (node:internal/modules/cjs/loader:1343:18)
    at Object.func [as .node] (node:electron/js2c/node_init:2:2441)
    at Module.load (node:internal/modules/cjs/loader:1098:32)
    at Module._load (node:internal/modules/cjs/loader:945:12)
    at c._load (node:electron/js2c/node_init:2:13672)
    at Module.require (node:internal/modules/cjs/loader:1122:19)
    at require (node:internal/modules/helpers:130:18)
    at Object.<anonymous> (/home/ubuntu/Downloads/element-desktop-1.11.66-arm64-static/element-desktop-1.11.66-arm64/resources/app.asar/node_modules/matrix-seshat/index.js:16:22)
    at Module._compile (node:internal/modules/cjs/loader:1256:14) {
  code: 'ERR_DLOPEN_FAILED'
}

dynamic library (non-bundled) mode works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions