Plex Player Flatpak Not Working on Fresh Install of Fedora 43 (KDE Plasma)

Server Version#: N/A
Player Version#: 1.110.0

I recently did a clean install of Fedora 43 KDE Plasama version and the Plex desktop app (Flatpak version) doesn’t load the app. The notification through KDE says:

We’re sorry, it looks like “plex-bin” crashed. Please contact the developer if you want to report the issue.

Going through the command line and navigating to:

/var/lib/flatpak/app/tv.plex.PlexDesktop/current/active/files/bin

And running both the Plex and plex-bin binary shows the following, similar, error:

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

Looking at the available libraries on /usr/lib64/, it doesn’t have libswresample.so.4 but it does have libswresample.so.5. So I tried using the “ln -s” command on it to create a link to the libswresample.so.5 library:

sudo ln -s ./libswresample.so.5 ./libswresample.so.4

But that gave me this error:

./plex-bin: /lib64/libswresample.so.4: version `LIBSWRESAMPLE_4’ not found (required by /var/lib/flatpak/app/tv.plex.Pl
exDesktop/x86_64/stable/8844286e7468f5edc3df2306bc68dcf2082515d61c706129816d5ccbbeed8c17/files/bin/../lib/libavcodec.so
.59)
./plex-bin: /lib64/libswresample.so.4: version `LIBSWRESAMPLE_4’ not found (required by /var/lib/flatpak/app/tv.plex.Pl
exDesktop/x86_64/stable/8844286e7468f5edc3df2306bc68dcf2082515d61c706129816d5ccbbeed8c17/files/bin/../lib/libmpv.so.2)
./plex-bin: /lib64/libswresample.so.4: version `LIBSWRESAMPLE_4’ not found (required by /var/lib/flatpak/app/tv.plex.Pl
exDesktop/x86_64/stable/8844286e7468f5edc3df2306bc68dcf2082515d61c706129816d5ccbbeed8c17/files/bin/../lib/libavfilter.s
o.8)

Additional information that might be helpful:

  • I have the ffmpeg version from RPM Fusion installed instead of the ffmpeg-free that comes standard with Fedora. I reverted back but ran into the same issues. Looking at the packages for both, they all contain the libswresample.so.5 and not libswresample.so.4.

Does anyone know how I can get my hands on just the libswresample.so.4 library other than spinning up an earlier version of Fedora? Or maybe there’s a better fix to this?

1 Like

Update!

I tried looking at what kind of libswresample was on a Fedora 42 installation where Plex flatpak works and it’s also libswresample.so.5 so that’s not the issue. Additionally, trying to run plex-bin on the machine produces the same error message I listed above so I think I’m off track with the source of this problem.

Good news is that taking a look at the Flatpak website, it says to run:

flatpak run tv.plex.PlexDesktop

to run Plex Desktop Player but the right-clicking on the icon in KDE shows that it’s running:

/usr/bin/flatpak

with the arguments:

run --branch=stable --arch=x86_64 --command=Plex tv.plex.PlexDesktop

The “ --command=Plex tv.plex.PlexDesktop” looks like there’s a Plex in front of the instructions they’re giving for the Flatpak website. So removing the “Plex” so that it changes to:

--command=tv.plex.PlexDesktop

Does give me any pop-up about the “plex-bin” crash. In fact it doesn’t show anything! Typing in “flatpak run tv.plex.PlexDesktop” into the terminal gives me:

/app/bin/Plex: line 50: 5 Segmentation fault (core dumped) “$BASE_DIR”/bin/plex-bin “$@”

I’m going to dig in a bit more and see if I can correct this on my end.

1 Like

Same here

Might be related

Same here on Bluefin 43 (based on Fedora 43 Silverblue).

  • Intel Core 7 Ultra 258V
  • Intel Arc Graphics 140V
  • Linux Kernel 6.17.6
  • Gnome 49
  • Wayland
  • Plex app Flatpak version