Error while loading libgconf-2.so.4

,

I’m trying to run the lovely software turtl on my new installation of Fedora 36. The installation goes smoothly but when I try to run it this error pops up:

/opt/turtl/turtl: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory

This post shows how to bypass this problem by rebuilding the rpm and specifying which dependencies are required.

The problem is that turtl has an installation shell script and not a .rpm.

Additionally, both packages that provide libgconf-2.so.4 are installed on my system !

$provides libgconf-2.so.4                                          
Last metadata expiration check: 0:15:08 ago on Mon 23 May 2022 09:24:33 PM CEST.
GConf2-3.2.6-34.fc36.i686 : A process-transparent configuration system
Repo        : @System
Matched from:
Provide    : libgconf-2.so.4

GConf2-3.2.6-34.fc36.i686 : A process-transparent configuration system
Repo        : fedora
Matched from:
Provide    : libgconf-2.so.4

$ sudo dnf install -y GConf
Last metadata expiration check: 1:06:52 ago on Mon 23 May 2022 08:34:01 PM CEST.
Package GConf2-3.2.6-34.fc36.i686 is already installed.
Dependencies resolved.
Nothing to do.
Complete!

What more can I do ?

It looks like you may have installed the 32-bit version of the library (i686) instead of the 64-bit (x86_64).

1 Like

Thank you ! It’s fixed and now I feel silly for not having connected the dots.

But why did dnf provides only display the 32 bits version ?

1 Like