-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
AppImage on Gentoo - Cannot find libmpv at the usual places #643
Comments
Upon inspection, the spotube AppImage appears to overwrite LD_LIBRARY_PATH with
Edit: This issue has been generalized and filed upstream at leanflutter/flutter_distributor#139 |
Oops sorry, I wrote that part of code & made that mistake 😅. But So how does /usr/lib64 affect AppImage? Also libmpv is shipped with the AppImage including many other shared objects (.so) so it shouldn't even require one to install libmpv or mpv at all |
I still have to try the extract option to test it but will do as soon as possible. I tried a couple of locations copying libmpv.so but none worked. Reading about the overwriting, I'll keep an eye on the referenced report to see how this evolves. |
Weird thing is libmpv.so & libmpv.so.2 is already embedded in the appimage |
Same error here: SOLVED:
is now working for me |
Btw there's a .tar.xz available which you use to manually install the app |
I tried the unpacking option suggested before and the I had another problem, delated to libappindicator, which I solved installing that package ( Then I had the following error message Then I got a message about encryption but that seems to be another issue. So for now, I believe there is a path that you can follow to add the mentioned libraries to have a full appimage. Thanks for the help and effort with this nice package |
These are the AUR dependencies |
Can anyone contribute with a The aur PKGBUILD can followed https://github.com/KRTirtho/spotube/blob/master/aur-struct/PKGBUILD |
I can try to do it, but I haven't done it before. It may be a good excercise for me. I'll try this week |
Yea sure give it a try. It'll be a helpful for a lot of users & kind of a milestone for this app 💪 I mean how many flutter apps are there that are installable on Gentoo without manual work?! 😄 |
I encountered this problem as well:
I have yet to try the guide from @servusdei2018. Updated: The guide didn t work for me |
We dropped support for AppImage as it has become a burden for us to maintain both the AppImage packager and format for flutter_distributor which hinders the actual development of the app. Spotube is available for all Linux distro through Flathub (flatpak) |
Is there an existing issue for this?
Current Behavior
After attempting to launch the AppImage file, it outputs the following message:
`package:media_kit_libs_linux registered.
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Exception: Cannot find libmpv at the usual places. Depending upon your distribution, you can install the libmpv package to make shared library available globally. On Debian or Ubuntu based systems, you can install it with: apt install libmpv-dev.
#0 NativeLibrary.ensureInitialized (package:media_kit/src/player/native/core/native_library.dart:73)
#1 nativeEnsureInitialized (package:media_kit/src/player/native/player/real.dart:48)
#2 MediaKit.ensureInitialized (package:media_kit/src/media_kit.dart:25)
#3 main (package:spotube/main.dart:80)
#4 _runMain. (dart:ui/hooks.dart:129)
#5 _delayEntrypointInvocation. (dart:isolate-patch/isolate_patch.dart:296)
#6 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:189)
`
Expected Behavior
The app should open
Steps to reproduce
Operating System
Linux 6.1.28-gentoo #6 SMP PREEMPT_DYNAMIC Fri Aug 11 09:39:20 +08 2023 x86_64 12th Gen Intel(R) Core(TM) i5-12600K GenuineIntel GNU/Linux
Spotube version
3.1.0
Installation source
GitHub Releases (Binary)
Additional information
Packages installed related to this software:
Other appimage files work fine.
There seems to be a similar situation with Fedora reported, Can't install on Feodra 38 but since it is a different OS with some differences to Gentoo, I'm making a new report.
I tried the solution mentioned by RTTEXFile about a symbolic link but it didn't work. I tried copying the files to other common library folders, but that didn't work either.
The text was updated successfully, but these errors were encountered: