eneshecan / whatsapp-for-linux

An unofficial WhatsApp desktop application for Linux.
GNU General Public License v3.0
943 stars 97 forks source link

error while loading shared libraries: libicuuc.so.74 #382

Open Kyshman opened 2 weeks ago

Kyshman commented 2 weeks ago

Description WhatsApp-For-Linux fails to start on an updated Arch based distro eg Manjaro.

To Reproduce Steps to reproduce the behavior:

  1. Start whatsapp-for-linux via GUI menu.
  2. Nothing happens or maybe you see the application icon briefly on the taskbar then it disappears
  3. Start whatsapp-for-linux via terminal
  4. See the error belo
whatsapp-for-linux: error while loading shared libraries: libicuuc.so.74: cannot open shared object file: No such file or directory

Expected behavior Expected the application to start normally with no errors

Environment

Kyshman commented 2 weeks ago

Thought its not listed as a dependancy, a query of the system for icu with pacman -F libicuuc.so shows;

core/icu 75.1-1 [installed]
    usr/lib/libicuuc.so
extra/intel-oneapi-basekit 2024.0.0.49564-3
    opt/intel/oneapi/advisor/2024.0/fga/fga/libicuuc.so
multilib/lib32-icu 75.1-1 [installed]
    usr/lib32/libicuuc.so

clearly the installed version is 75 but the application is asking for version 74.

This might also be the case on other updated distros.

On arch or other arch based distro the solution is to install AUR package icu74 alongside the main repo package of icu as described here

Might be worth to update the application to use the newer icu library and to also mention it as a dependancy.