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

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 2 3 4 5 6 7 8 .. 11 Next › Last »

ak2021 commented on 2024-12-07 21:18 (UTC)

@MagicCookie Gnome 47.2

MagicCookie commented on 2024-12-07 20:47 (UTC)

@ak2021 what DE are you using?

ak2021 commented on 2024-12-07 19:52 (UTC)

Anyone know how fix the missing icon?

NormanNewguy commented on 2024-12-02 02:19 (UTC)

@jianglai I'm getting the same error. It looks to me like the installer is broken - all of the parts are in the package I downloaded from git, it's just not putting the right bits in the right places, and I'm not smart enough to sort out how to fix it.

jianglai commented on 2024-11-30 15:15 (UTC)

Anyone else getting the following error?

/opt/plex-desktop/bin/Plex: error while loading shared libraries: libswresample.so.4: cannot open shared object file: No such file or directory

It appears that the installed version is now libswresample.so.5

$ ls /usr/lib/libswresample*
/usr/lib/libswresample.so  /usr/lib/libswresample.so.5  /usr/lib/libswresample.so.5.3.100

bastple commented on 2024-11-15 16:10 (UTC)

Has anyone successfully replaced the included libmpv with a newer version?

shiggitay commented on 2024-11-10 05:23 (UTC)

@username227 noted. Thank you.

username227 commented on 2024-11-10 03:41 (UTC)

Yes, there is this ongoing issue. It's an ffmpeg issue, not a plex-desktop issue.

shiggitay commented on 2024-11-09 03:15 (UTC) (edited on 2024-11-09 03:16 (UTC) by shiggitay)

@jianglai yeah I managed to recompile ffmpeg6.1 after updating the deps it was complaining about... Super annoying but I know what to do now if necessary. Re: pat-aur, I couldn't get it working... It's fine tho. Lol