flathub/com.viber.Viber

Viber do not start on CentOS 7 - libQt5Core.so.5

Closed this issue · 6 comments

Today it is just stoped working. I did not update or remove anything from the system.
OS: CentOS Linux release 7.9.2009 (Core)
flatpak:
flatpak-libs-1.0.9-12.el7_9.x86_64
flatpak-1.0.9-12.el7_9.x86_64

[root@local /home/user]# flatpak list
Ref                                                     Options                                                                                                                                                                              
com.viber.Viber/x86_64/stable                           system,current                                                                                                                                                                       
org.freedesktop.Platform.GL.default/x86_64/20.08        system,runtime                                                                                                                                                                       
org.freedesktop.Platform.GL.nvidia-470-82-00/x86_64/1.4 system,runtime                                                                                                                                                                       
org.freedesktop.Platform.ffmpeg/x86_64/1.6              system,runtime,eol=The Freedesktop 1.6 runtime is no longer supported and does not receive security updates. Please ask your application developer to migrate to a supported runtime.
org.freedesktop.Platform.openh264/x86_64/2.0            system,runtime                                                                                                                                                                       
org.freedesktop.Platform/x86_64/1.6                     system,runtime,eol=The Freedesktop 1.6 runtime is no longer supported and does not receive security updates. Please ask your application developer to migrate to a supported runtime.
org.freedesktop.Platform/x86_64/20.08                   system,runtime                                                                                                                                                                       

[root@local /home/user]# flatpak -v run com.viber.Viber
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Opening user flatpak installation at path /root/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /root/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /root/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Cleaning up unused container id 2767230182
F: Allocated instance id 60690076
F: Allowing wayland access
F: Allowing x11 access
F: Allowing pulseaudio access
F: Pulseaudio user configuration file '/root/.config/pulse/client.conf': Error opening file /root/.config/pulse/client.conf: No such file or directory
F: Failed to run in transient scope: No systemd user session available, cgroups not available
F: Running '/usr/libexec/flatpak-bwrap --args 33 /usr/libexec/flatpak-dbus-proxy --args=35'
F: Running '/usr/libexec/flatpak-bwrap --args 31 viber'
/app/extra/viber/Viber: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory

[root@local /home/user]# locate libQt5Core.so.5
/opt/calibre/lib/libQt5Core.so.5
/opt/google/earth/pro/libQt5Core.so.5
/usr/lib64/libQt5Core.so.5
/usr/lib64/libQt5Core.so.5.9
/usr/lib64/libQt5Core.so.5.9.7
/var/lib/flatpak/app/com.viber.Viber/x86_64/stable/587a3af5930847519a2981c6f8c3b79864b9ef08086709b1322868af325f5e58/files/extra/viber/lib/libQt5Core.so.5

+1 Downgrade to previous working commit was unsuccessful:

flatpak update --commit=9076c208a69ae2ee56d7bbd15fd85d180c2cbc5695cfa5dcbc212e1c90e82434 com.viber.Viber
Looking for updates...
Updating in system:
com.viber.Viber/x86_64/stable flathub 9076c208a69a
Is this ok [y/n]: y
Updating: com.viber.Viber/x86_64/stable from flathub
[#####################] Downloading files: 1/1 110.1 MB (22.0 MB/s)
Error: Failed to update com.viber.Viber/x86_64/stable: Wrong size for extra data https://download.cdn.viber.com/cdn/desktop/Linux/viber.deb
error: There were one or more errors

do you face the issue still after the latest update from roughly a week ago?

Yes the same issue:

[bla@home ~]$ flatpak -v run com.viber.Viber
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Opening user flatpak installation at path /home/bla/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/bla/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/bla/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Cleaning up unused container id 2715007969
F: Allocated instance id 2718219343
F: Allowing wayland access
F: Allowing x11 access
F: Allowing pulseaudio access
F: Pulseaudio user configuration file '/home/bla/.config/pulse/client.conf': Error opening file /home/bla/.config/pulse/client.conf: No such file or directory
F: Failed to run in transient scope: No systemd user session available, cgroups not available
F: Running '/usr/libexec/flatpak-bwrap --args 32 /usr/libexec/flatpak-dbus-proxy --args=34'
F: Running '/usr/libexec/flatpak-bwrap --args 30 viber'
/app/extra/viber/Viber: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory

What is your flatpak version?

flatpak-1.0.9-12.el7_9.x86_64
flatpak-libs-1.0.9-12.el7_9.x86_64

Sounds like flathub/flathub#805 . If this is the case there is not much we can do from here thus closing.