Error while loading shared libraries: libwbclient.so.0 on Fedora 24

I got this error message:

smbclient: error while loading shared libraries: libwbclient.so.0: cannot open shared object file: No such file or directory

a couple of time when I was installing Fedora 24 and this is just a short post on how I managed to get around it

Symptoms:

Here's the first time I got it:

[root@fedora]# smbclient -L //192.168.1.3
smbclient: error while loading shared libraries: libwbclient.so.0: cannot open shared object file: No such file or directory

Second time it happend to me I was not able to start control center and when I started it from command line I got this:

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

Details from the system:

[root@fedora]# rpm -qa | grep libwbclient
libwbclient-4.4.5-1.fc24.x86_6

[root@fedora]# cat /etc/fedora-release 
Fedora release 24 (Twenty Four)

Here's an example output from my system. libwbclient and Fedora release.

How to fix:

update-alternatives --install /usr/lib64/libwbclient.so.0 libwbclient.so.0-64 /usr/lib64/samba/wbclient/libwbclient.so.0 10

And tehn it works OK:

[root@fedora]# smbclient -L //192.168.1.3
Enter root's password: