-
Notifications
You must be signed in to change notification settings - Fork 406
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
ImportError: libnotify.so.4: cannot open shared object file: No such file or directory #2598
Comments
It's always a tradeoff between smaller image size and better compatibility. Biggest pain is compatibility issue, but fortunately it's not the case here. |
I tried to put |
I assume the pyfa team doesn't have the interest and resources to make sure the app-image is compatible with niche distributions like NixOS. In most distros, lib-notify is readily available to app images. However, I have found a solution that worked for me.
One of the results for me:
Note: I am grabbing a 64 bit version. If you don't use steam, you'll have to find the 64 bit version of libnotify.so.4 somewhere else. Then we copy libnotify.so.4 into the appimage-run cache directory. In your case:
Recap: This is a nix-os/app-image issue, nixos will need to properly package pyfa app image with libnotify, or the pyfa team will have to include the library in the app image. |
I will experiment with all those missing dependencies. I just visit this repo mostly when it's time to do another release. |
Included with 71d6830. Let's hope nothing breaks by including it (sometimes it does). |
Bug Report
Expected behavior:
Pyfa run
Actual behavior:
Pyfa crash
Detailed steps to reproduce:
use appimage-run in nixos and run pyfa.appimage
Release or development git branch? Please note the release version or commit hash:
Release, v2.58.1
Operating system and version (eg: Windows 10, OS X 10.9, OS X 10.11, Ubuntu 16.10):
NixOS 23.11
Other relevant information:
As I understand it, this problem is caused by the specifics of nixos, so this can most likely be solved by adding libnotify.so.4 to the appimage
The text was updated successfully, but these errors were encountered: