Thursday, May 17, 2012

Making Canon LiDE 110 flatbed scanner work on Fedora 64 bit

Update: I will never know what was the actual the reason because I can no longer reproduce the problem. The scanner works with the same sane-backend rpms.

It has been bothering me for months as to why does the Canon LiDE 110 work fine on Ubuntu and Arch Linux but not on Fedora. However, I finally got around to spending some effort on it.

I downloaded the stable source from the sane project. Installed it on top of fedora's rpm's. It worked. However, it seemed surprising but may be fedora had made some changes. They hadn't.

I had made a silly mistake and installed the libraries in /usr/lib instead of /usr/lib64. So, I uninstalled it and rebuilt sane-backends with
./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64

Now, the scanner stopped working!

Uninstalled it, rebuilt sane-backends with
 ./configure --prefix=/usr --sysconfdir=/etc

The scanner was now recognized! So, it somehow needed some libraries to be installed in lib.

Ubuntu uses lib on x64 as well. And I was using 32 bit version on Arch Linux!