Package Details: plex-desktop 1.108.1.307-1

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.56
First Submitted: 2022-05-26 10:36 (UTC)
Last Updated: 2025-02-14 03:01 (UTC)

Dependencies (48)

Required by (0)

Sources (5)

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 causing kde-open to try to load the Qt 6.6 libraries from /opt/plex-desktop/lib due to the LD_LIBRARY_PATH set in Plex.sh.

This can be solved by editing the RUNPATH of the binaries using chrpath then removing the LD_LIBRARY_PATH line from Plex.sh. It turns out The main Plex library has a working RUNPATH but includes a bunch of automation cruft. The transcoding binary does NOT have it set, and QtWebEngineProcess needs no changes. In /opt/plex-desktop/bin run:

chrpath -r '$ORIGIN/../lib' Plex
chrpath -r '$ORIGIN/../lib' Plex\ Transcoder

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 alter Plex.sh like this:

https://gist.github.com/mrgrim/1357da402f8ceccaf8224e145fa6acc3

This could even allow using LD_LIBRARY_PATH and not using chrpath. The choice is yours. Using chrpath seems cleaner but pulls in a dependency.

Latest Comments

« First ‹ Previous 1 .. 4 5 6 7 8 9 10 11 Next › Last »

mfcmquintela commented on 2022-11-15 22:10 (UTC)

@Bobyl same issue is present in X11. Running plex-desktop crashes (somewhat randomly) with that exact segfault, running the flatpak version behaves correctly

Bobyl commented on 2022-10-23 16:38 (UTC) (edited on 2022-10-23 16:40 (UTC) by Bobyl)

When trying to run plex-desktop on wayland, it crashes with a segfault.

/usr/bin/plex-desktop : line 49 :  2357 segfault (core dumped)"$BASE_DIR"/bin/Plex "$@"

Am I the only one having this issue? Note that the flatpak version of plex-desktop behaves correctly and does not crash with Wayland.

ludvigHz commented on 2022-07-16 20:59 (UTC)

A symlink to the system libmpv with the correct version has been added in the latest release. So the application should run again.

npreining commented on 2022-07-12 03:33 (UTC)

The following change is needed

@@ -44,6 +44,7 @@ package() {
   install -Dm644 "${pkgdir}/opt/${pkgname}/lib/libicuuc.so.66" -t "${pkgdir}/usr/lib/${pkgname}"
   install -Dm644 "${pkgdir}/opt/${pkgname}/lib/libavutil.so.56" -t "${pkgdir}/usr/lib/${pkgname}"
   install -Dm644 "${pkgdir}/opt/${pkgname}/lib/libavformat.so.58" -t "${pkgdir}/usr/lib/${pkgname}"
+  install -Dm644 "${pkgdir}/opt/${pkgname}/lib/libmpv.so.2" -t "${pkgdir}/usr/lib/${pkgname}"

   install -Dm644 "${srcdir}/${pkgname}/usr/lib/x86_64-linux-gnu/libvpx.so.6.2.0" "${pkgdir}/usr/lib/${pkgname}/libvpx.so.6"
   install -Dm644 "${srcdir}/${pkgname}/usr/lib/x86_64-linux-gnu/libwebp.so.6.0.2" "${pkgdir}/usr/lib/${pkgname}/libwebp.so.6"

oromis95 commented on 2022-07-12 02:45 (UTC)

Confirm, no longer works because of mpv dependency issue

hashworks commented on 2022-07-11 22:44 (UTC)

Looks like a dependency is missing:

$ ldd /opt/plex-desktop/bin/Plex
    libmpv.so.2 => not found
...

Not provided over the wrapper script either.

ryaeng commented on 2022-07-01 15:12 (UTC)

I can confirm joeleg's comment. plex-desktop doesn't launch until qt5-x11extras is installed.

ScrexyScroo commented on 2022-06-20 15:13 (UTC)

core dump /s

joeleg commented on 2022-06-15 23:04 (UTC)

Hey, I think the qt5-x11extras dependency is being ignored. Or at least I am unable to launch without it installed on wayland.