You are not logged in.

#1 2017-03-26 20:50:36

TheFiddler
Member
Registered: 2009-02-09
Posts: 38

[SOLVED] Can't open gnome-control-center, missing libreplace-samba4.so

I just updated my system (25 March 2017) and now I can no longer open any gnome-control-center panel.

Running "gnome-control-center" from the terminal gives me the following error:

    gnome-control-center: error while loading shared libraries: libreplace-samba4.so: cannot open shared object file: No such file or directory


Indeed, libreplace-samba4.so is nowhere to be found on my system. I've reinstalled samba, smbclient, and the whole gnome stack, but this didn't fix the problem. I also spent half an hour on google, which lead me mostly to irrelevant RedHat packages.

Does anyone have any ideas? Running "ldd gnome-control-center" confirms that this file is missing:

    libreplace-samba4.so => not found

Last edited by TheFiddler (2017-03-26 21:29:17)


The Open Toolkit: OpenGL, OpenAL, OpenCL and Vulkan for Mono/.Net.

Offline

#2 2017-03-26 21:17:55

loqs
Member
Registered: 2014-03-06
Posts: 17,323

Re: [SOLVED] Can't open gnome-control-center, missing libreplace-samba4.so

$ ldd /usr/bin/gnome-control-center | grep replace
	libreplace-samba4.so => /usr/lib/samba/libreplace-samba4.so (0x00007f3a3ca06000)
$ pacman -Qo /usr/lib/samba/libreplace-samba4.so
/usr/lib/samba/libreplace-samba4.so is owned by libwbclient 4.5.7-1
$ pacman -Qi gnome-control-center 
Name            : gnome-control-center
Version         : 3.22.2+2+g97e4d87ae-1
Description     : GNOME's main interface to configure various aspects of the
                  desktop
Architecture    : x86_64
URL             : https://git.gnome.org/browse/gnome-control-center
Licenses        : GPL2
Groups          : gnome
Provides        : None
Depends On      : accountsservice  cups-pk-helper  gnome-bluetooth
                  gnome-desktop  gnome-online-accounts  gnome-settings-daemon
                  gsettings-desktop-schemas  gtk3  libgtop  libnm-gtk
                  sound-theme-freedesktop  upower  libpwquality
                  gnome-color-manager  smbclient  libmm-glib  libgnomekbd
                  grilo  clutter-gtk  libibus  cheese  libgudev
Optional Deps   : system-config-printer: Printer settings
                  gnome-user-share: Bluetooth and WebDAV file sharing
                  rygel: media sharing
                  vino: screen sharing
                  openssh: remote login [installed]
Required By     : None
Optional For    : gnome-shell
Conflicts With  : None
Replaces        : None
Installed Size  : 17.68 MiB
Packager        : Jan de Groot <jgc@archlinux.org>
Build Date      : Wed 15 Mar 2017 09:33:38 GMT
Install Date    : Wed 15 Mar 2017 21:40:47 GMT
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature
$ pacman -Qi smbclient 
Name            : smbclient
Version         : 4.5.7-1
Description     : Tools to access a server's filespace and printers via SMB
Architecture    : x86_64
URL             : http://www.samba.org
Licenses        : GPL3
Groups          : None
Provides        : None
Depends On      : popt  cifs-utils  tdb  libwbclient>=4.5.7  ldb  tevent
                  libgcrypt  python2  talloc  readline  gnutls  libbsd  libldap
                  libcups
Optional Deps   : None
Required By     : gnome-control-center
Optional For    : vlc  xine-lib
Conflicts With  : None
Replaces        : None
Installed Size  : 24.08 MiB
Packager        : Tobias Powalowski <tpowa@archlinux.org>
Build Date      : Fri 24 Mar 2017 07:36:41 GMT
Install Date    : Sat 25 Mar 2017 11:04:07 GMT
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

As demonstrated having gnome-control-center installed should pull in its dependency smbclient which has as its dependency libwbclient>=4.5.7 which supplies /usr/lib/samba/libreplace-samba4.so.
Edit:
Partial upgrade or filesystem corruption?

Last edited by loqs (2017-03-26 21:18:50)

Offline

#3 2017-03-26 21:23:02

seth
Member
Registered: 2012-09-03
Posts: 51,041

Re: [SOLVED] Can't open gnome-control-center, missing libreplace-samba4.so

pacman -Qi libwbclient

Offline

#4 2017-03-26 21:28:33

TheFiddler
Member
Registered: 2009-02-09
Posts: 38

Re: [SOLVED] Can't open gnome-control-center, missing libreplace-samba4.so

Thanks, reinstalling libwbclient fixed this. During installation I got the following warning:

    warning: could not get file information for usr/lib/samba/libreplace-samba4.so

It's not clear why or how this file went missing. SMART appears to be in order, but I guess nothing can rule out filesystem corruption on an ext4 filesystem...


The Open Toolkit: OpenGL, OpenAL, OpenCL and Vulkan for Mono/.Net.

Offline

Board footer

Powered by FluxBB