Skip to content

libz.so cannot open shared object file [ARM64] #1092

@mihaiav

Description

@mihaiav

I'm building an app using Electron builder with AppImage as target. It worked fine for a while but now I can't run it anymore. Perhaps I updated some libraries or just run apt-get update but I didn't expect that to break AppImage application as they are supposed to be self contained anyway. I get an error that says

libz.so: cannot open shared objet files: No such file or directory

The error is not very helpful as it doesn't say which shared object files it tries to open.

Additionally the error is very bad for the user experience/debug as well as it's visible only when you run the app from the command line. If you run it from GUI you get no error at all... it just doesn't run.

Arch is ARM64.

I also have a x64 built that I test now on a different machine (X64) and works as expected.


$ lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 20.10
Release: 20.10
Codename: groovy

$ uname -a
Linux <redacted-user> 5.8.0-1007-raspi #10-Ubuntu SMP PREEMPT Thus Nov 5 17:52:40 UTC 2020 aarch64 aarch64 GNU/Linux 
hdmi

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions