-
-
Notifications
You must be signed in to change notification settings - Fork 561
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
libz.so cannot open shared object file [ARM64] #1092
Comments
Update: I browsed through the issues and found how to fix the libz.so issue #964 After installing zlib1g-dev I got another error about libxss1 so I installed this as well and now the app runs. After all this I find the experience quite bad compared with windows or mac and perhaps it's also one of the reasons(among others) why linux adoption is so low. Seems even installing an app that is supposed to be self contained and "just work" on any linux distribution becomes a big adventure. |
You should've checked our docs. There are other reasons not to bundle such basic libraries. See https://docs.appimage.org/introduction/concepts.html#build-on-old-systems-run-on-newer-systems for more information. The issue you have there is that the application you build links to a library name that is not commonly available. Make it link against |
I may be wrong but from the comments I read on #964 the "solution" is actually a workaround CollaboraOnline/richdocumentscode#68 (comment) and the issue seems to be caused by the appimagetool which I assume is used by Electron builder, not "my app". libxss seems to an issue of my app indeed which is actually an issue of Electron inherited from the Chrome/Chromium browser. |
Install zlib1g-dev on Ubuntu or other Linux. like this. sudo apt-get update -y sudo apt-get install -y zlib1g-dev Insert the above two command lines on your terminal. After, Restart your computer or server. Later finishing your problems. |
Man, respect. It works |
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.
The text was updated successfully, but these errors were encountered: