flatpaks dont launch

hello! i have an issue with flatpaks seemingly not able to launch. they appear to be attempting to link against libs in /usr/lib/x86_64-linux-gnu but the libs its looking for are under /usr/lib64. i tried launching the flatpak with the --env option to override LD_LIBRARY_PATH but that didnt appear to override it like i thought it would. anyone experienced this?
flatpak run org.mozilla.firefox
/bin/bash: error while loading shared libraries: /usr/lib/x86_64-linux-gnu/libreadline.so.8: file too short
flatpak run org.mozilla.firefox
/bin/bash: error while loading shared libraries: /usr/lib/x86_64-linux-gnu/libreadline.so.8: file too short
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck-gnome:stable
Digest: sha256:42a9979e498205f3f6f8c3ebfd873c7f1c34f9e101972f8c22629ccd9482e2a7
Version: 42.20250522.1 (2025-05-22T07:12:02Z)
Initramfs: '"-I /etc/crypttab /etc/modprobe.d/amdgpu.conf /etc/modprobe.d/deck-blacklist.conf"'
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck-gnome:stable
Digest: sha256:42a9979e498205f3f6f8c3ebfd873c7f1c34f9e101972f8c22629ccd9482e2a7
Version: 42.20250522.1 (2025-05-22T07:12:02Z)
Initramfs: '"-I /etc/crypttab /etc/modprobe.d/amdgpu.conf /etc/modprobe.d/deck-blacklist.conf"'
Solution:
Try a flatpak repair
Jump to solution
7 Replies
termdisc
termdisc4d ago
Is this for all flatpaks? Dependencies like that should be pulled from the flatpak rather than the host
jardon
jardonOP3d ago
im not entirely sure, but its definitely at least firefox and discord. ill check to see if others do the same thing ya it appears to be all flatpaks and they give me the same kinds of errors but about different libs
Solution
Kyle Gospo
Kyle Gospo3d ago
Try a flatpak repair
jardon
jardonOP3d ago
i tried that and a reboot, but the problem persists
jardon
jardonOP3d ago
so my question is about if the libs should exist in /usr/lib64 or /usr/lib/x86_64-linux-gnu
Kyle Gospo
Kyle Gospo3d ago
These are within flatpak Nothing to do with us On top of that we all have exactly the same /usr/ folder If what you were describing was actually a problem it would affect everyone Basically I would just not waste my time looking into that folder anymore
jardon
jardonOP3d ago
okay so i got it working. the flatpak repair did work, but only for user apps and since the apps that were broken were system apps, i had to use sudo on the repair easy solution. thanks for looking at it!

Did you find this page helpful?