I also got the error: kde-open: /opt/plex-desktop/lib/libQt6Core.so.6: version `Qt_6.8' not found (required by kde-open) I ALSO was able to fix with MrGrim's comment from 10-01-24: "mrgrim commented on 2024-10-01 05:16 (UTC)"
Search Criteria
Package Details: plex-desktop 1.108.1.307-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/plex-desktop.git (read-only, click to copy) |
---|---|
Package Base: | plex-desktop |
Description: | Plex desktop client for linux |
Upstream URL: | http://plex.tv |
Keywords: | media player plex |
Licenses: | unknown |
Submitter: | ludvigHz |
Maintainer: | username227 |
Last Packager: | username227 |
Votes: | 19 |
Popularity: | 0.64 |
First Submitted: | 2022-05-26 10:36 (UTC) |
Last Updated: | 2025-02-14 03:01 (UTC) |
Dependencies (48)
- alsa-lib
- dbus (dbus-gitAUR, dbus-selinuxAUR)
- expat (expat-gitAUR)
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-cudaAUR, ffmpeg-ffplayoutAUR, ffmpeg-obsAUR, ffmpeg-headlessAUR, ffmpeg-fullAUR, ffmpeg-decklinkAUR, ffmpeg-libfdk_aacAUR, ffmpeg-amd-fullAUR, ffmpeg-gitAUR, ffmpeg-full-gitAUR, ffmpeg-amd-full-gitAUR)
- fontconfig (fontconfig-gitAUR, fontconfig-ubuntuAUR)
- freetype2 (freetype2-macosAUR, freetype2-qdoledAUR, freetype2-gitAUR, freetype2-qdoled-aw3225qfAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR)
- harfbuzz (harfbuzz-gitAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- lcms2 (lcms2-ff-gitAUR, lcms2-gitAUR, lcms2-ffAUR)
- libdrm (libdrm-gitAUR)
- libgl (libglvnd-gitAUR, amdgpu-pro-oglp-legacyAUR, nvidia-340xx-utilsAUR, amdgpu-pro-oglpAUR, libglvnd)
- libjpeg-turbo (mozjpeg-gitAUR, libjpeg-turbo-gitAUR, mozjpegAUR)
- libpulse (pulseaudio-dummyAUR, libpulse-gitAUR)
- libva (libva-gitAUR, intel-media-stack-binAUR, libva-headlessAUR)
- libwebp (libwebp-gitAUR)
- libx11 (libx11-gitAUR)
- libxcb (libxcb-gitAUR)
- libxcomposite
- libxdamage
- libxext (libxext-gitAUR)
- libxfixes
- libxinerama (libxinerama-randr-gitAUR)
- libxkbcommon (libxkbcommon-gitAUR)
- libxkbcommon-x11 (libxkbcommon-x11-gitAUR)
- libxkbfile
- libxml2 (libxml2-gitAUR, libxml2-2.9AUR)
- libxrandr (libxrandr-gitAUR)
- libxrender
- libxslt (libxslt-gitAUR)
- libxss
- libxtst
- mesa (mesa-wsl2-gitAUR, mesa-amd-bc250AUR, mesa-gitAUR, mesa-minimal-gitAUR, amdonly-gaming-mesa-gitAUR, mesa-amber)
- minizip (minizip-gitAUR)
- nspr (nspr-hgAUR)
- nss (nss-hgAUR)
- opus (opus-gitAUR)
- pciutils (pciutils-gitAUR)
- qt6-base (qt6-base-gitAUR, qt6-base-headlessAUR)
- snappy (snappy-gitAUR)
- wayland (wayland-gitAUR, wayland-asan-gitAUR, wayland-chromiumAUR)
- xcb-util-image
- xcb-util-keysyms
- xcb-util-renderutil
- xcb-util-wm
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat)
Required by (0)
Sources (5)
- http://ftp.us.debian.org/debian/pool/main/libw/libwebp/libwebp6_0.6.1-2.1+deb11u2_amd64.deb
- https://artifacts.plex.tv/plex-desktop-stable/1.108.1.307-dd5b87aa/linux/Plex-1.108.1.307-dd5b87aa-linux-x86_64.tar.bz2
- https://github.com/flathub/tv.plex.PlexDesktop/raw/master/tv.plex.PlexDesktop.desktop
- https://github.com/flathub/tv.plex.PlexDesktop/raw/master/tv.plex.PlexDesktop.png
- iconpatch.patch
colpepe commented on 2025-04-01 17:39 (UTC)
Knurz commented on 2025-01-27 12:06 (UTC)
I still got the same error as @DerHerrGammler. This is not really a fix, but either a patch that will be overwritten in the next update (I suppose): Change the startup-script in /opt/plex-desktop/Plex.sh, add a comment to line 3 leaving LD_LIBRARY_PATH to prev. values/unset.
This fixed the login-problem for me. Tested it by playing some SD/HD Videos (direct, non-transcoded) and it worked fine on my system (KDE w. Wayland).
diegod commented on 2025-01-08 23:27 (UTC)
Thanks @mrgrim! https://aur.archlinux.org/packages/plex-desktop?O=20#comment-992918 It worked! I could login using X, but on Wayland it didin't work.
engraved commented on 2025-01-08 13:39 (UTC)
I tried the fix by @mrgrim, but I am getting on the latest KDE plasma and NVIDIA Drivers 565.77:
[10092:10137:0108/143217.015756:ERROR:gpu_channel_manager.cc(771)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[10092:10137:0108/143217.015758:ERROR:shared_image_stub.cc(470)] SharedImageStub: unable to create context
[10092:10137:0108/143217.015762:ERROR:gpu_channel.cc(449)] GpuChannel: Failed to create SharedImageStub
[10092:10137:0108/143217.015903:ERROR:gl_context_egl.cc(277)] eglCreateContext failed with error EGL_BAD_CONTEXT
[10092:10137:0108/143217.015941:ERROR:gpu_channel_manager.cc(771)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[10092:10137:0108/143217.015945:ERROR:shared_image_stub.cc(470)] SharedImageStub: unable to create context
[10092:10137:0108/143217.015949:ERROR:gpu_channel.cc(449)] GpuChannel: Failed to create SharedImageStub
[10092:10137:0108/143217.016616:ERROR:gl_context_egl.cc(277)] eglCreateContext failed with error EGL_BAD_CONTEXT
[10092:10137:0108/143217.016623:ERROR:gpu_channel_manager.cc(771)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[10092:10137:0108/143217.016626:ERROR:shared_image_stub.cc(470)] SharedImageStub: unable to create context
[10092:10137:0108/143217.016631:ERROR:gpu_channel.cc(449)] GpuChannel: Failed to create SharedImageStub
matt17br commented on 2025-01-03 15:32 (UTC)
The fix described by @mrgrim at https://aur.archlinux.org/packages/plex-desktop?O=20#comment-992918 worked for me!
matt17br commented on 2025-01-03 13:49 (UTC)
@username227 The fix looks promising but I am unsure as to how to apply the same configs as the Nix package on Arch. Any idea?
username227 commented on 2025-01-03 12:26 (UTC)
Seems like this might be a known issue and not a package issue. See this thread for a possible solution: https://github.com/NixOS/nixpkgs/issues/342824.
DerHerrGammler commented on 2025-01-03 04:54 (UTC)
@username227 - it was in fact not installed but also unfortunately didn't solved the issue
username227 commented on 2025-01-03 03:56 (UTC)
@derherrgammler - do you have the package python-pyqt6 installed? if not, try installing it and see if that helps.
DerHerrGammler commented on 2025-01-03 03:49 (UTC)
Hey, I got the same issue as @Gamix. When I try to login i got this error:
kde-open: /opt/plex-desktop/lib/libQt6Core.so.6: version `Qt_6.8' not found (required by kde-open)
kde-open: /opt/plex-desktop/lib/libQt6Core.so.6: version `Qt_6.8' not found (required by /usr/lib/libKF6KIOGui.so.6)
kde-open: /opt/plex-desktop/lib/libQt6Core.so.6: version `Qt_6.8' not found (required by /usr/lib/libKF6KIOCore.so.6)
kde-open: /opt/plex-desktop/lib/libQt6Core.so.6: version `Qt_6.8' not found (required by /usr/lib/libKF6CoreAddons.so.6)
kde-open: /opt/plex-desktop/lib/libQt6Core.so.6: version `Qt_6.8' not found (required by /usr/lib/libKF6I18n.so.6)
kde-open: /opt/plex-desktop/lib/libQt6Core.so.6: version `Qt_6.8' not found (required by /usr/lib/libKF6Service.so.6)
kde-open: /opt/plex-desktop/lib/libQt6Core.so.6: version `Qt_6.8' not found (required by /usr/lib/libKF6Solid.so.6)
kde-open: /opt/plex-desktop/lib/libQt6Core.so.6: version `Qt_6.8' not found (required by /usr/lib/libKF6WindowSystem.so.6)
kde-open: /opt/plex-desktop/lib/libQt6Core.so.6: version `Qt_6.8' not found (required by /usr/lib/libKF6ConfigCore.so.6)
kde-open: /opt/plex-desktop/lib/libQt6Core.so.6: version `Qt_6.8' not found (required by /usr/lib/libKF6Crash.so.6)
kde-open: /opt/plex-desktop/lib/libQt6Core.so.6: version `Qt_6.8' not found (required by /usr/lib/libKF6AuthCore.so.6)
kde-open: /opt/plex-desktop/lib/libQt6Core.so.6: version `Qt_6.8' not found (required by /usr/lib/libQt6Xml.so.6)
Also on Plasma 6.2.4 with Qt 6.8.1
Pinned Comments
mrgrim commented on 2024-10-01 05:16 (UTC) (edited on 2024-10-01 05:20 (UTC) by mrgrim)
The Qt 6.7 problem is an issue where
xdg-open
inherits the environment of the Plex app causingkde-open
to try to load the Qt 6.6 libraries from/opt/plex-desktop/lib
due to theLD_LIBRARY_PATH
set inPlex.sh
.This can be solved by editing the
RUNPATH
of the binaries usingchrpath
then removing theLD_LIBRARY_PATH
line fromPlex.sh
. It turns out The main Plex library has a workingRUNPATH
but includes a bunch of automation cruft. The transcoding binary does NOT have it set, andQtWebEngineProcess
needs no changes. In/opt/plex-desktop/bin
run:However, this only exposes additional issues with all of the Qt environment variables set in this script. I couldn't find a super clean way to fix this, but interestingly enough KDE uses a little utility for their AppImage deployments to deal with this exact problem:
https://invent.kde.org/brauch/appimage-exec-wrapper/
Compile it and copy the
exec.so
file into/opt/plex-desktop/lib
then alterPlex.sh
like this:https://gist.github.com/mrgrim/1357da402f8ceccaf8224e145fa6acc3
This could even allow using
LD_LIBRARY_PATH
and not usingchrpath
. The choice is yours. Usingchrpath
seems cleaner but pulls in a dependency.