DonutWare / Fladder

Fladder - A Simple Jellyfin Frontend
https://donutware.github.io/Fladder/
GNU General Public License v3.0
230 stars 8 forks source link

🐛 Missing Shared Library on Fedora 40 #53

Open Nanianmichaels opened 2 days ago

Nanianmichaels commented 2 days ago

Description

Hello.

I have just run Fladder on Fedora 40, and it errored out with a missing shared library, more specifically libmpv.so.1.

Please consider adding that library to the app's lib folder, or adding instructions on how to get it on the system on the download page (included below for F40).

Reproduction steps

  1. Try to load the app via terminal.
  2. App will error out from missing shared library; if loaded by double-clicking the executable, it will simply not load.

For F40 users, you need to install at least mpv-devel, and then symlink the shared library.

Steps required:

I personally also installed mpv, but the library in question was only available on mpv-devel.

For Debian-based systems, the commands apparently are: sudo apt install libmpv-dev libmpv2 (or libmpv1, depending on the source) sudo ln -s /usr/lib/x86_64-linux-gnu/libmpv.so /usr/lib/libmpv.so.1

I have not, however, tested the solution on a Debian-based system.

Screenshots

Logs

No response

Platform

Linux

App Version

v0.2.6-alpha

bazzadazza72 commented 2 days ago

I have not, however, tested the solution on a Debian-based system.

I believe the issue happens on all Linux distributions, including Debian. I'll have a look at what modules it uses, could be a typo somewhere.

bazzadazza72 commented 2 days ago

If I can't fix the issue, or another workaround other than the one you've provided is found, I'll write some documentation.

PartyDonut commented 1 day ago

I think it would also help if we can package the linux binaries in something like Flatpak or an appimage (or both)?

That would include all libraries I believe.

bazzadazza72 commented 1 day ago

I did think about doing that. I would recommend doing an AppImage, personally, but if you want to distribute for easier management, Flatpak would be the way to go. There's the possibility of doing both just to have options as well.

Edit: punctuation and clarity

PartyDonut commented 1 day ago

Let's try for both if possible 👍🏼 .

bazzadazza72 commented 1 day ago

Just found this as a resource: https://appimage-builder.readthedocs.io/en/latest/examples/flutter.html, very promising

bazzadazza72 commented 1 day ago

Let's try for both if possible

Will get started on that this week, shouldn't take too long 🤞