Ok, latest Viber rpm from the viber webpage gives the following
info:
rpm -qif viber
Name : viber
Version : 18.2.0.2
Release : 2
Architecture: x86_64
Install Date: Sun 30 Apr 2023 08:14:29 AM EDT
Group : Converted/non-free/net
Size : 506362005
License : see /usr/share/doc/viber/copyright
Signature : (none)
Source RPM : viber-18.2.0.2-2.src.rpm
Build Date : Tue 09 Aug 2022 03:39:38 AM EDT
Build Host : fc4418846583
Summary : Viber for Desktop.
Description :
Free and secure calls and messages to anyone, anywhere, on any device and network, in any
country!
Viber for Desktop syncs your contacts, messages and call history with your mobile
device.
(Converted from a deb package by alien version 8.95.)
Ok, so this isn’t really a Fedora package, but a Debian package converted with alien.
Most likely completely untested on Fedora if it’s erroring out like you say.
######
Examining the installed package via:
rpm -ql viber | grep -i desktop
find the following file
/usr/share/applications/viber.desktop
Looking for the executable produces
Exec=/opt/viber/Viber %u
Runing
/opt/viber/Viber (with/without %u) from the command line produces:
qt.webenginecontext:
GLImplementation: desktop
Surface Type: OpenGL
Surface Profile: CompatibilityProfile
Surface Version: 4.2
Using Default SG Backend: yes
Using Software Dynamic GL: no
Using Angle: no
Init Parameters:
* allow-loopback-in-peer-connection
* application-name ViberPC
* autoplay-policy no-user-gesture-required
* browser-subprocess-path /opt/viber/libexec/QtWebEngineProcess
* create-default-gl-context
* disable-features
DnsOverHttpsUpgrade,ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP,WebPayments,WebUSB,PictureInPicture,AudioServiceOutOfProcess
* disable-setuid-sandbox
* disable-speech-api
* enable-features
NetworkServiceInProcess,TracingServiceInProcess,NetworkServiceInProcess
* enable-threaded-compositing
* enable-usermedia-screen-capture
* in-process-gpu
* use-gl desktop
xkbcommon: ERROR: Couldn't process include statement for 'us(homophonic)'
xkbcommon: ERROR: Abandoning symbols file "(unnamed)"
xkbcommon: ERROR: Failed to compile xkb_symbols
xkbcommon: ERROR: Failed to compile keymap
[10889:10918:0507/095115.955539:FATAL:xkb_keyboard_layout_engine.cc(640)] Keymap file
failed to load: us-homophonic
Trace/breakpoint trap (core dumped)
Most likely due to missing dependencies in the package.
I saw an AppImage on the download page. It might work better for you, since they aren’t
really supporting Fedora anyway.
You could also run `ldd /opt/viber/Viber` and track down all the missing dependencies that
way, but I took a look at the RPM and it includes it’s own Qt libraries too, which also
might have additional dependencies. This seems like a terrible waste of time, so use the
AppImage or a Debian container to run it.
--
Jonathan Billings