I'm trying to install a printer driver RPM package "cndrvcups-capt" for my Canon LBP printer.
RPM is complaining about libxml2.so.2:
> sudo rpm -ivh cndrvcups-capt-2.40-1.x86_64.rpm
error: Failed dependencies:
libxml2.so.2 is needed by cndrvcups-capt-2.40-1.x86_64
As I understand it, this file should be provided by package libxml2, which is installed (I reinstalled it, just to make sure). The file libxml2.so.2 is physically present in /usr/lib64, and I have created links to it from several other library directories in case rpm is looking in the wrong place. Still no success, though.
It looks like there might be a problem with the package database in /var/lib/rpm/Packages. Is this a good guess, and if so, any suggestions how to fix it?