Problem with version of libilbc.so.2 in Electron, Element and Nextcloud-client

Hi,

I cannot start these programms, just getting the error:
electron: error while loading shared libraries: libilbc.so.2: cannot open shared object file: No such file or directory

This library is installed in version 3 by now; since updating I get the error message.

Sincerely, Rico

Hello @Beiri22Ny :wink:

The file is here:

$ LANG=C pamac search --files libilbc.so
/usr/lib/libilbc.so is owned by libilbc
/usr/lib/libilbc.so.2 is owned by libilbc
/usr/lib/libilbc.so.2.0.2 is owned by libilbc
$ LANG=C pamac info libilbc
Name                  : libilbc
Version               : 2.0.2-5
Description           : A friendly copy of the iLBC codec from the WebRTC project
URL                   : https://github.com/TimothyGu/libilbc/
Licenses              : BSD
Repository            : community
Installed Size        : 109.3 kB
Depends On            : glibc
Packager              : Felix Yan <felixonmars@archlinux.org>
Build Date            : 07/07/20
Signatures            : Yes

You will need to install that file:

pamac install libilbc

If the lib is newer than pamac offer, try this:

pamac update --force-refresh --enable-downgrade --no-aur

I am in testing branch, there we got 3.0.3-1, but some packages depend on the old version. But I also get the files you describe as output of the command

$ LANG=C pamac search --files libilbc.so

/usr/lib/libilbc.so wird besessen von libilbc
/usr/lib/libilbc.so.2 wird besessen von libilbc
/usr/lib/libilbc.so.2.0.2 wird besessen von libilbc

But they are not there, as ls shows

$ ls /usr/lib/libilbc.so*
/usr/lib/libilbc.so  /usr/lib/libilbc.so.3  /usr/lib/libilbc.so.3.0.3

Is there any official bug tracker for manjaro?

That does not mean it is actually installed. It just displays that this package contains this file.

Maybe you have installed libilbc-git ?

Btw i am also on the testing branch. :wink:

Update

After an update i got this version also :sweat_smile:

$ LANG=C pamac info libilbc
Name                  : libilbc
Version               : 3.0.3-1
Description           : A friendly copy of the iLBC codec from the WebRTC project
URL                   : https://github.com/TimothyGu/libilbc/
Licenses              : BSD
Repository            : community
Installed Size        : 182.4 kB
Depends On            : gcc-libs
Make Dependencies     : git cmake
Packager              : Daniel Bermond <dbermond@archlinux.org>
Build Date            : 12/19/20
Signatures            : Yes

Not really… better report it here: [Testing Update] 2020-12-22 - Kernels, Pamac 10.0.1, Firefox-Beta, Nvidia, KDE-git

Nothing in the repos require libilbc. What packages are you talking about specifically? Neither nextcloud-client in the community repo nor nextcloud-client-git in the AUR require it. As far as Element, are you referring to element or element-desktop? Neither those nor Electron require it, either.

What command are you running to generate that error?

I have installed:
community/nextcloud-client 3.0.3-2 (2.5 MiB 10.6 MiB) (Installed)
community/element-desktop 1.7.16-1 (5.6 MiB 28.2 MiB) (Installed)
community/code 1.52.1-1 (9.3 MiB 70.7 MiB) (Installed)
community/electron9 9.4.0-3 (45.3 MiB 154.7 MiB) (Installed)
community/electron 11.1.1-1 (47.2 MiB 156.4 MiB) (Installed)

$ code
electron9: error while loading shared libraries: libilbc.so.2: cannot open shared object file: No such file or directory

$ element-desktop 
electron: error while loading shared libraries: libilbc.so.2: cannot open shared object file: No such file or directory

$ nextcloud
nextcloud: error while loading shared libraries: libilbc.so.2: cannot open shared object file: No such file or directory

I just installed all three of those programs and cannot reproduce the error. I do use the Unstable branch, but there was a Testing update yesterday so I shouldn’t have many newer packages than you.

Why do you even have libilbc installed? Try removing it.

I also tried unstable, some issue.

I might have installed it with ffmpeg-full-git.

Interestingly:

ldd /usr/bin/electron | grep ilb
	libilbc.so.2 => not found

Just looking at it with lddtree and found:

/usr/bin/electron (interpreter => /lib64/ld-linux-x86-64.so.2)
    libavcodec.so.58 => /usr/lib/libavcodec.so.58
        libilbc.so.2 => None

libavcodec.so.58 is part of ffmpeg-full-git.

Yes, libilbc is a dependency. Why do you need it? What’s wrong with the ffmpeg extra repo package?

I was experimenting with av1-codecs which where not included in ffmpeg/extra. I just updated the Aur-package and it works again.

Now my question:
yay did not update ffmpeg-full-git automatically, is there any way to force updating aur-git-packages?

Pamac Preferences > AUR > Check for development packages updates

Thank you all for helping me to fix the problem!