KRTirtho / spotube

🎧 Open source Spotify client that doesn't require Premium nor uses Electron! Available for both desktop & mobile!
https://spotube.krtirtho.dev/
Other
30.83k stars 1.28k forks source link

Unable to install spotube rpm file. Nothing provides libmpv.so.1()(64bit) on fedora 40 Workstation, on x86_64 #1931

Closed universish closed 1 month ago

universish commented 1 month ago

Is there an existing issue for this? (Please read the description)

Current Behavior

On the fedora 40 operating system;

The Spotube rpm file does not install, it does not install when run as “open with install software” with the Gnome Software application. It gives the following error:

Could not resolve dependencies of the process; 1 problem detected:
 Problem: conflicting requests
  - nothing provides libmpv.so.1()(64bit) needed by spotube-3.8.1+34-34.x86_64 from @commandline

I get the following error when I try to install from terminal:

m***@fedora:~$ sudo rpm -i /home/m***/İndirilenler/Spotube-linux-x86_64.rpm
[sudo] password for m***: 
hata: Sağlanamayan bağımlılıklar:
    libmpv.so.1()(64bit) is needed by spotube-3.8.1+34-34.x86_64
    mdns-scan is needed by spotube-3.8.1+34-34.x86_64
    mpv is needed by spotube-3.8.1+34-34.x86_64

When I install it in a fedora container, it gives this error:

[root@2bed07cb3aae /]# wget https://github.com/KRTirtho/spotube/releases/download/v3.8.1/Spotube-linux-x86_64.rpm
Spotube-linux-x86_64 100% [=====================>]   22.10M    6.97MB/s
                          [Files: 1  Bytes: 22.10]
[root@2bed07cb3aae /]# dnf install -y Spotube-linux-x86_64.rpm 
Last metadata expiration check: 0:01:46 ago on Fri Sep 27 15:16:12 2024.
Error: 
 Problem: conflicting requests
  - nothing provides libmpv.so.1()(64bit) needed by spotube-3.8.1+34-34.x86_64 from @commandline
(try to add '--skip-broken' to skip uninstallable packages)

It won't install.

Expected Behavior

Must be installed

Steps to reproduce

No response

Logs

-

Operating System

fedora 40

Spotube version

v3.8.1

Installation source

GitHub Releases (Binary)

Additional information

No response

Self grab

SilPan commented 1 month ago

Spotube requires some dynamic libraries to run, these are supposed to come form the system thus you have to install them via the system's package manager.

dnf in the case of fedora.

Search which packages provide the required libraries: dnf provides */libmpv.so.1. And install the the packages.


I am not familiar with rpm, but with deb (apt) dependencies can be declared for packages, that should also be an rpm thing. Maybe the dependencies can be declared in the rpm package.

SilPan commented 1 month ago

Alternatively you can install spotube from flatpak, there libraries are bundled.

https://flathub.org/apps/com.github.KRTirtho.Spotube

fabiuz commented 1 month ago

Este mesmo problema ocorreu comigo em fedora 38. Após várias análises, segue, como instalar spotube em fedora 38 e posteriores:

spotube utiliza o pacote media-kit, e na documentação em github: https://github.com/media-kit/media-kit?tab=readme-ov-file#ubuntudebian indica que precisa dos pacotes "libmpv-dev" "mpv", entretanto, estas pacotes indicam Ubuntu/Debian, nenhuma informação sobre Fedora.

Provavelmente, em Fedora, seja, mpv e mpv-devel. Na documentação, no github, os pacotes necessário são mpv e mpv-devel, ok, meu raciocínio.

Em seguida, baixemos "https://github.com/KRTirtho/Spotube/releases/latest/download/Spotube-linux-x86_64.deb", sim, do debian. Em seguida, vamos extrair o pacote "Spotube-linux-x86_64.deb", usando o comando: dpkg-deb -R Spotube-linux-x86_64.deb spotube-linux-debian-extraido

Este comando vai criar um diretório "spotube-linux-debian-extraido", entre dentro do diretorio: cd spotube-linux-debian-extraido Haverá duas pastas DEBIAN e usr Execute o comando: cat DEBIAN/control

O conteúdo do arquivo: DEBIAN/control:

Maintainer: Kingkor Roy Tirtho krtirtho@gmail.com Package: spotube Version: 3.8.2+35 Section: x11 Priority: optional Architecture: amd64 Essential: no Installed-Size: 24400 Description: Open source Spotify client that doesn't require Premium nor uses Electron! Available for both desktop & mobile! Homepage: https://spotube.krtirtho.dev Depends: mpv, libappindicator3-1 | libayatana-appindicator3-1, gir1.2-appindicator3-0.1 | gir1.2-ayatanaappindicator3-0.1, libsecret-1-0, libnotify-bin, libjsoncpp25, libmpv1 | libmpv2, xdg-user-dirs, avahi-daemon, avahi-discover, avahi-utils, libnss-mdns, mdns-scan, libwebkit2gtk-4.1-0 | libwebkit2gtk-4.0-0, libsoup-3.0-0 | libsoup-2.4-0

Eu inseri os pacotes mpv-devel e libmpv, reconstrui o pacote e continuou o erro. othing provides libmpv.so.1()(64bit) needed by spotube-3.8.2+35-2.x86_64 from @commandline

Então, o que eu fiz, pra conseguir instalar spotube em fedora foi: Instale o pacote mvp e mvp-devel, se ainda não foi instalado.

Em seguida, tente executar o comando abaixo: sudo rpm -ivh Spotube-linux-x86_64.rpm Este erro será reportado: erro: Dependências não satisfeitas: libmpv.so.1()(64bit) é requerido por spotube-3.8.2+35-2.x86_64

Aqui, mesmo se mpv e mpv-devel não tiverem sido instalados, rpm não informará que precisa dos pacotes mpv e mpv-devel. Pra evitar que rpm procure por dependencias, execute o comando abaixo: sudo rpm -ivh Spotube-linux-x86_64.rpm --nodeps

Agora, Spotube, será instalado.

Se você executou o comando anterior, mas não instalou os pacotes mvp e mvp-devel, dará este erro ao tentar executar Spotube:

package:media_kit_libs_linux registered. flutter:

media_kit: ERROR: MediaKit.ensureInitialized This indicates that one or more required dependencies could not be located.

Refer to "Installation" section of the README for further details: GitHub : https://github.com/media-kit/media-kit#installation pub.dev : https://pub.dev/packages/media_kit#installation

TIP: Copy-paste required packages from the above link to your pubspec.yaml.

If you recently added the packages, make sure to re-run the project ("hot-restart" & "hot-reload" is not sufficient for native plugins).

Pra corrigir este erro, instale os pacotes: mpv e mpv-devel.

Spotube, será instalado no diretório: /usr/share/spotube

Agora, tente executar Spotube, de qualquer diretório:

$ spotube Se ocorrer o erro "comando não localizado", iremos corrigir isto:

O pacote Spotube-linux-x86_64.rpm instalou o arquivo spotube.desktop em /usr/share/applications/ [fabiuz@localhost spotube]$ ls /usr/share/applications/spotube* /usr/share/applications/spotube.desktop

Vamos editar este arquivo: vim /usr/share/applications/spotube.desktop

Segue conteúdo do arquivo: [Desktop Entry] Type=Application Version=3.8.2+35 Name=Spotube GenericName=Music Streaming Application Icon=spotube Exec=spotube %U MimeType=x-scheme-handler/spotify; Categories=Music;

Na linha que começa com "Exec=spotube %U", altere pra: Exec=/usr/share/spotube/spotube %U

Isto ocorre por que o caminho /usr/share/spotube não está na variável $PATH, então, colocando o caminho completo, em exec, o programa será localizado.

Aqui, na minha máquina fiz vários testes: Desinstalei mpv, mpv-devel e mpv-libs. Instalei spotube, usando o comando: sudo rpm -ivh Spotube-linux-x86_64.rpm --nodeps Tentei executar, deu erro.

Então, instalei mpv e tentei executar spotube, deu erro. Então, desinstalei mpv e instalei mpv-devel, e tentei executar spotube, spotube funcionou. Depois, desinstalei mpv e instalei mpv-libs, e tentei executar spotube, spotube funcionou.

Pesquisei, sobre o pacote mpv-libs, ele fornece:

No momento, em minha máquina, spotube funciona usando somente o pacote mpv-libs.

Resumindo, pra funcionar em fedora 38 e acima: Instale o pacote mpv e mpv-devel Instale o pacote Spotube-linux-x86_64 usando o comando rpm -ivh Spotube-linux-x86_64.rpm --nodeps Corrija no arquivo: /usr/share/applications/spotube.desktop, a linha que começa em "Exec=spotube %U" substitua por "Exec=/usr/share/spotube/spotube %U".

fabiuz commented 1 month ago

Install the mpv and mpv-devel package: sudo dnf install mpv mpv-devel Install the Spotube-linux-x86_64 package using the command rpm -ivh Spotube-linux-x86_64.rpm --nodeps Correct in the file: /usr/share/applications/spotube.desktop, the line starting with 'Exec=spotube %U' replace with'Exec=/usr/share/spotube/spotube %U'.

universish commented 1 month ago

Thank you, @fabiuz fabiuz. You have explained very well what the problem is and how to solve it. You are an excellent Developer bug reporter. Thank you for your efforts. I hope the packages you wrote will be added to the rpm package and recompiled. I'm sure the maintainer @SilPan SilPan will do a good job on this.

I'm not closing the topic because the problem has been solved with a workaround. For a general solution a new rpm package needs to be compiled. Once the package is compiled and released, the topic will be closed. Thank you all.

fabiuz commented 1 month ago

I inserted the mpv-devel and libmpv packages on package deb, rebuilt the package and convert to rpm but the error continued: something provides libmpv.so.1()(64bit) needed by spotube-3.8.2+35-2.x86_64.

The mpv-libs-0.34.1-2.el8.x86_64.rpm package provides:

However, this package is from the distribution: Enterprise Linux 8.

However, in Fedora 38, the mpv-libs package is at version 0.35.1-4.fc38, where it provides:

spotube does not directly depend on libmpv.

[fabiuz@localhost spotube-3.8.2+35]$ ldd /usr/share/spotube/spotube
    linux-vdso.so.1 (0x00007ffd25354000)
    libdesktop_webview_window_plugin.so => /usr/share/spotube/lib/libdesktop_webview_window_plugin.so (0x00007fd7a44f4000)
    libfile_selector_linux_plugin.so => /usr/share/spotube/lib/libfile_selector_linux_plugin.so (0x00007fd7a44ed000)
    libflutter_secure_storage_linux_plugin.so => /usr/share/spotube/lib/libflutter_secure_storage_linux_plugin.so (0x00007fd7a44cf000)
    libgtk_plugin.so => /usr/share/spotube/lib/libgtk_plugin.so (0x00007fd7a44c9000)
    liblocal_notifier_plugin.so => /usr/share/spotube/lib/liblocal_notifier_plugin.so (0x00007fd7a44c1000)
    libmedia_kit_libs_linux_plugin.so => /usr/share/spotube/lib/libmedia_kit_libs_linux_plugin.so (0x00007fd7a44ba000)
    libscreen_retriever_plugin.so => /usr/share/spotube/lib/libscreen_retriever_plugin.so (0x00007fd7a44b4000)
    libsqlite3_flutter_libs_plugin.so => /usr/share/spotube/lib/libsqlite3_flutter_libs_plugin.so (0x00007fd7a433b000)
    libsystem_theme_plugin.so => /usr/share/spotube/lib/libsystem_theme_plugin.so (0x00007fd7a4335000)
    libtray_manager_plugin.so => /usr/share/spotube/lib/libtray_manager_plugin.so (0x00007fd7a432f000)
    liburl_launcher_linux_plugin.so => /usr/share/spotube/lib/liburl_launcher_linux_plugin.so (0x00007fd7a4327000)
    libwindow_manager_plugin.so => /usr/share/spotube/lib/libwindow_manager_plugin.so (0x00007fd7a431a000)
    libflutter_linux_gtk.so => /usr/share/spotube/lib/libflutter_linux_gtk.so (0x00007fd7a3400000)

    libgtk-3.so.0 => /lib64/libgtk-3.so.0 (0x00007fd7a2c00000)
    libgdk-3.so.0 => /lib64/libgdk-3.so.0 (0x00007fd7a2b05000)
    libpangocairo-1.0.so.0 => /lib64/libpangocairo-1.0.so.0 (0x00007fd7a42d3000)
    libpango-1.0.so.0 => /lib64/libpango-1.0.so.0 (0x00007fd7a4267000)
    libharfbuzz.so.0 => /lib64/libharfbuzz.so.0 (0x00007fd7a2a09000)
    libatk-1.0.so.0 => /lib64/libatk-1.0.so.0 (0x00007fd7a33d7000)
    libcairo-gobject.so.2 => /lib64/libcairo-gobject.so.2 (0x00007fd7a425c000)
    libcairo.so.2 => /lib64/libcairo.so.2 (0x00007fd7a28d6000)
    libgdk_pixbuf-2.0.so.0 => /lib64/libgdk_pixbuf-2.0.so.0 (0x00007fd7a28a8000)
    libgio-2.0.so.0 => /lib64/libgio-2.0.so.0 (0x00007fd7a26d5000)
    libgobject-2.0.so.0 => /lib64/libgobject-2.0.so.0 (0x00007fd7a2675000)
    libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x00007fd7a252c000)
    libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007fd7a2200000)
    libm.so.6 => /lib64/libm.so.6 (0x00007fd7a211f000)
    libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fd7a2508000)
    libc.so.6 => /lib64/libc.so.6 (0x00007fd7a1f41000)
    libwebkit2gtk-4.1.so.0 => /lib64/libwebkit2gtk-4.1.so.0 (0x00007fd79d400000)
    libsoup-3.0.so.0 => /lib64/libsoup-3.0.so.0 (0x00007fd7a246a000)
    libgmodule-2.0.so.0 => /lib64/libgmodule-2.0.so.0 (0x00007fd7a33cc000)
    libjavascriptcoregtk-4.1.so.0 => /lib64/libjavascriptcoregtk-4.1.so.0 (0x00007fd79b800000)
    libsecret-1.so.0 => /lib64/libsecret-1.so.0 (0x00007fd7a1edf000)
    libnotify.so.4 => /lib64/libnotify.so.4 (0x00007fd7a245c000)
    libappindicator3.so.1 => /lib64/libappindicator3.so.1 (0x00007fd7a1ecd000)
    libdbusmenu-glib.so.4 => /lib64/libdbusmenu-glib.so.4 (0x00007fd7a1ead000)
    libdl.so.2 => /lib64/libdl.so.2 (0x00007fd7a2455000)
    libepoxy.so.0 => /lib64/libepoxy.so.0 (0x00007fd7a1d8a000)
    libfontconfig.so.1 => /lib64/libfontconfig.so.1 (0x00007fd79b7b1000)
    libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fd7a1d85000)
    /lib64/ld-linux-x86-64.so.2 (0x00007fd7a455a000)
    libpangoft2-1.0.so.0 => /lib64/libpangoft2-1.0.so.0 (0x00007fd79d3e6000)
    libfribidi.so.0 => /lib64/libfribidi.so.0 (0x00007fd79b792000)
    libXi.so.6 => /lib64/libXi.so.6 (0x00007fd7a1d70000)
    libX11.so.6 => /lib64/libX11.so.6 (0x00007fd79b64b000)
    libatk-bridge-2.0.so.0 => /lib64/libatk-bridge-2.0.so.0 (0x00007fd79b60e000)
    libcloudproviders.so.0 => /lib64/libcloudproviders.so.0 (0x00007fd79d3cd000)
    libtracker-sparql-3.0.so.0 => /lib64/libtracker-sparql-3.0.so.0 (0x00007fd79b531000)
    libwayland-client.so.0 => /lib64/libwayland-client.so.0 (0x00007fd79b520000)
    libXfixes.so.3 => /lib64/libXfixes.so.3 (0x00007fd79b518000)
    libxkbcommon.so.0 => /lib64/libxkbcommon.so.0 (0x00007fd79b4d0000)
    libwayland-cursor.so.0 => /lib64/libwayland-cursor.so.0 (0x00007fd79b4c6000)
    libwayland-egl.so.1 => /lib64/libwayland-egl.so.1 (0x00007fd79b4c1000)
    libXext.so.6 => /lib64/libXext.so.6 (0x00007fd79b4ab000)
    libXcursor.so.1 => /lib64/libXcursor.so.1 (0x00007fd79b49e000)
    libXdamage.so.1 => /lib64/libXdamage.so.1 (0x00007fd79b499000)
    libXcomposite.so.1 => /lib64/libXcomposite.so.1 (0x00007fd79b494000)
    libXrandr.so.2 => /lib64/libXrandr.so.2 (0x00007fd79b487000)
    libXinerama.so.1 => /lib64/libXinerama.so.1 (0x00007fd79b482000)
    libthai.so.0 => /lib64/libthai.so.0 (0x00007fd79b475000)
    libfreetype.so.6 => /lib64/libfreetype.so.6 (0x00007fd79b3a5000)
    libgraphite2.so.3 => /lib64/libgraphite2.so.3 (0x00007fd79b384000)
    libz.so.1 => /lib64/libz.so.1 (0x00007fd79b36a000)
    libpng16.so.16 => /lib64/libpng16.so.16 (0x00007fd79b331000)
    libXrender.so.1 => /lib64/libXrender.so.1 (0x00007fd79b323000)
    libxcb.so.1 => /lib64/libxcb.so.1 (0x00007fd79b2f8000)
    libxcb-render.so.0 => /lib64/libxcb-render.so.0 (0x00007fd79b2e9000)
    libxcb-shm.so.0 => /lib64/libxcb-shm.so.0 (0x00007fd79b2e4000)
    libpixman-1.so.0 => /lib64/libpixman-1.so.0 (0x00007fd79b236000)
    libjpeg.so.62 => /lib64/libjpeg.so.62 (0x00007fd79b1b3000)
    libmount.so.1 => /lib64/libmount.so.1 (0x00007fd79b16b000)
    libselinux.so.1 => /lib64/libselinux.so.1 (0x00007fd79b13e000)
    libffi.so.8 => /lib64/libffi.so.8 (0x00007fd79b132000)
    libpcre2-8.so.0 => /lib64/libpcre2-8.so.0 (0x00007fd79b098000)
    libicui18n.so.72 => /lib64/libicui18n.so.72 (0x00007fd79ac00000)
    libsystemd.so.0 => /lib64/libsystemd.so.0 (0x00007fd79afaf000)
    libicuuc.so.72 => /lib64/libicuuc.so.72 (0x00007fd79a800000)
    libxml2.so.2 => /lib64/libxml2.so.2 (0x00007fd79aa8c000)
    libsqlite3.so.0 => /lib64/libsqlite3.so.0 (0x00007fd79a6b2000)
    libxslt.so.1 => /lib64/libxslt.so.1 (0x00007fd79af6b000)
    liblcms2.so.2 => /lib64/liblcms2.so.2 (0x00007fd79aa27000)
    libwoff2dec.so.1.0.2 => /lib64/libwoff2dec.so.1.0.2 (0x00007fd79af5c000)
    libharfbuzz-icu.so.0 => /lib64/libharfbuzz-icu.so.0 (0x00007fd79af57000)
    libgcrypt.so.20 => /lib64/libgcrypt.so.20 (0x00007fd79a574000)
    libgstallocators-1.0.so.0 => /lib64/libgstallocators-1.0.so.0 (0x00007fd79af50000)
    libgstapp-1.0.so.0 => /lib64/libgstapp-1.0.so.0 (0x00007fd79aa12000)
    libgstbase-1.0.so.0 => /lib64/libgstbase-1.0.so.0 (0x00007fd79a4f0000)
    libgstreamer-1.0.so.0 => /lib64/libgstreamer-1.0.so.0 (0x00007fd79a3a0000)
    libgstpbutils-1.0.so.0 => /lib64/libgstpbutils-1.0.so.0 (0x00007fd79a35d000)
    libgstaudio-1.0.so.0 => /lib64/libgstaudio-1.0.so.0 (0x00007fd79a2dd000)
    libgsttranscoder-1.0.so.0 => /lib64/libgsttranscoder-1.0.so.0 (0x00007fd79af3f000)
    libgsttag-1.0.so.0 => /lib64/libgsttag-1.0.so.0 (0x00007fd79a29c000)
    libgstvideo-1.0.so.0 => /lib64/libgstvideo-1.0.so.0 (0x00007fd79a1d0000)
    libgstgl-1.0.so.0 => /lib64/libgstgl-1.0.so.0 (0x00007fd79a149000)
    libgstfft-1.0.so.0 => /lib64/libgstfft-1.0.so.0 (0x00007fd79aa05000)
    libwebpdemux.so.2 => /lib64/libwebpdemux.so.2 (0x00007fd79a142000)
    libwebp.so.7 => /lib64/libwebp.so.7 (0x00007fd79a0d4000)
    libjxl.so.0.7 => /lib64/libjxl.so.0.7 (0x00007fd799c00000)
    libavif.so.15 => /lib64/libavif.so.15 (0x00007fd79a0ae000)
    libenchant-2.so.2 => /lib64/libenchant-2.so.2 (0x00007fd79a0a1000)
    libtasn1.so.6 => /lib64/libtasn1.so.6 (0x00007fd79a08b000)
    libhyphen.so.0 => /lib64/libhyphen.so.0 (0x00007fd79a083000)
    libwayland-server.so.0 => /lib64/libwayland-server.so.0 (0x00007fd79a06c000)
    libmanette-0.2.so.0 => /lib64/libmanette-0.2.so.0 (0x00007fd79a03b000)
    libseccomp.so.2 => /lib64/libseccomp.so.2 (0x00007fd79a01c000)
    libgbm.so.1 => /lib64/libgbm.so.1 (0x00007fd79a009000)
    libdrm.so.2 => /lib64/libdrm.so.2 (0x00007fd799ff2000)
    libpsl.so.5 => /lib64/libpsl.so.5 (0x00007fd799fdd000)
    libbrotlidec.so.1 => /lib64/libbrotlidec.so.1 (0x00007fd799fd0000)
    libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007fd799f7a000)
    libnghttp2.so.14 => /lib64/libnghttp2.so.14 (0x00007fd799f4c000)
    libatomic.so.1 => /lib64/libatomic.so.1 (0x00007fd799f42000)
    libdbusmenu-gtk3.so.4 => /lib64/libdbusmenu-gtk3.so.4 (0x00007fd799f2b000)
    libatspi.so.0 => /lib64/libatspi.so.0 (0x00007fd799bc4000)
    libdbus-1.so.3 => /lib64/libdbus-1.so.3 (0x00007fd799b6f000)
    libjson-glib-1.0.so.0 => /lib64/libjson-glib-1.0.so.0 (0x00007fd799efd000)
    libdatrie.so.1 => /lib64/libdatrie.so.1 (0x00007fd799b66000)
    libbz2.so.1 => /lib64/libbz2.so.1 (0x00007fd799b52000)
    libXau.so.6 => /lib64/libXau.so.6 (0x00007fd799ef7000)
    libblkid.so.1 => /lib64/libblkid.so.1 (0x00007fd799b1a000)
    libcap.so.2 => /lib64/libcap.so.2 (0x00007fd799b10000)
    liblzma.so.5 => /lib64/liblzma.so.5 (0x00007fd799add000)
    libzstd.so.1 => /lib64/libzstd.so.1 (0x00007fd799a21000)
    liblz4.so.1 => /lib64/liblz4.so.1 (0x00007fd7999ff000)
    libicudata.so.72 => /lib64/libicudata.so.72 (0x00007fd797c00000)
    libwoff2common.so.1.0.2 => /lib64/libwoff2common.so.1.0.2 (0x00007fd7999f8000)
    libgpg-error.so.0 => /lib64/libgpg-error.so.0 (0x00007fd7999d2000)
    libunwind.so.8 => /lib64/libunwind.so.8 (0x00007fd797be6000)
    libdw.so.1 => /lib64/libdw.so.1 (0x00007fd797b4a000)
    liborc-0.4.so.0 => /lib64/liborc-0.4.so.0 (0x00007fd797ab2000)
    libEGL.so.1 => /lib64/libEGL.so.1 (0x00007fd797aa0000)
    libGLX.so.0 => /lib64/libGLX.so.0 (0x00007fd797a6d000)
    libX11-xcb.so.1 => /lib64/libX11-xcb.so.1 (0x00007fd797a68000)
    libgudev-1.0.so.0 => /lib64/libgudev-1.0.so.0 (0x00007fd797a5a000)
    libsharpyuv.so.0 => /lib64/libsharpyuv.so.0 (0x00007fd797a50000)
    libhwy.so.1 => /lib64/libhwy.so.1 (0x00007fd797a44000)
    libbrotlienc.so.1 => /lib64/libbrotlienc.so.1 (0x00007fd7979b2000)
    libdav1d.so.6 => /lib64/libdav1d.so.6 (0x00007fd7977c7000)
    librav1e.so.0 => /lib64/librav1e.so.0 (0x00007fd797400000)
    libSvtAv1Enc.so.1 => /lib64/libSvtAv1Enc.so.1 (0x00007fd796a00000)
    libaom.so.3 => /lib64/libaom.so.3 (0x00007fd796400000)
    libevdev.so.2 => /lib64/libevdev.so.2 (0x00007fd7977a6000)
    libexpat.so.1 => /lib64/libexpat.so.1 (0x00007fd79777b000)
    libxcb-randr.so.0 => /lib64/libxcb-randr.so.0 (0x00007fd797769000)
    libunistring.so.2 => /lib64/libunistring.so.2 (0x00007fd796252000)
    libidn2.so.0 => /lib64/libidn2.so.0 (0x00007fd79771a000)
    libbrotlicommon.so.1 => /lib64/libbrotlicommon.so.1 (0x00007fd7976f7000)
    libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007fd797327000)
    libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007fd79730f000)
    libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007fd797308000)
    libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007fd7972f8000)
    libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007fd7972f1000)
    libcrypto.so.3 => /lib64/libcrypto.so.3 (0x00007fd795e00000)
    libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fd7972df000)
    libelf.so.1 => /lib64/libelf.so.1 (0x00007fd7972c2000)
    libGLdispatch.so.0 => /lib64/libGLdispatch.so.0 (0x00007fd796948000)
    libudev.so.1 => /lib64/libudev.so.1 (0x00007fd79728c000)
    libvmaf.so.1 => /lib64/libvmaf.so.1 (0x00007fd795d01000)
The file './libmedia_kit_native_event_loop.so', which is in '/usr/share/spotube/lib' depends on libmpv.so.1:
ldd libmedia_kit_native_event_loop.so 
    linux-vdso.so.1 (0x00007ffd0c762000)
    _libmpv.so.1 => not found_
    libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f167b800000)
    libm.so.6 => /lib64/libm.so.6 (0x00007f167bb71000)
    libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f167bb4d000)
    libc.so.6 => /lib64/libc.so.6 (0x00007f167b622000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f167bc96000)

In the documentation, from the media_kit package, it states that it requires the mpv and mpv-devel packages, however, on my machine I uninstalled mpv and mpv-devel and only installed mpv-libs and Spotube it worked.

fabiuz commented 1 month ago

Spotube does not directly depend on libmpv.so.1, so what we analyze is the libmedia_kit_native_event_loop.so file, which it directly depends on.

[fabiuz@localhost lib]$ ldd libmedia_kit_native_event_loop.so ldd: aviso: você não tem permissão para execução para./libmedia_kit_native_event_loop.so' linux-vdso.so.1 (0x00007ffd0c762000) libmpv.so.1 => not found libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f167b800000) libm.so.6 => /lib64/libm.so.6 (0x00007f167bb71000) libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f167bb4d000) libc.so.6 => /lib64/libc.so.6 (0x00007f167b622000) /lib64/ld-linux-x86-64.so.2 (0x00007f167bc96000) `

johnvanham commented 1 month ago

Managed to get version 3.8.2 installed on Fedora 40 with the help of @fabiuz comments. But I needed to also install libappindicator-gtk3 as well since I was missing libappindicator3.so.1 - See https://github.com/KRTirtho/spotube/issues/1580#issuecomment-2396950280

universish commented 1 month ago

sorry. I thought it was the same topic but it's different. there is an architectural difference. not aarch64. We have this problem on x86_64, though aarch64 has the same problem. The issue is not fixed. the issue is closed by saying that there is no spotube rpm support for aarch64 architecture. spotube flathub package is requested to be installed. I hope support for x86_64 architecture processors will not be terminated.

universish commented 1 month ago

Sorry, I opened a new thread about the same problem. https://github.com/KRTirtho/spotube/issues/1580 The reason is that the other thread did not provide enough information about the details of the problem. If the other issue is edited and enough details about the problem are added, also if details about the problem are added to the title; I will close this issue I opened, I will move it to that issue title. I will merge the titles.

universish commented 1 month ago

1580

Solution: https://github.com/KRTirtho/spotube/issues/1931#issuecomment-2393811665 and https://github.com/KRTirtho/spotube/issues/1580#issuecomment-2396950280