[sane-devel] updating sane on Ubuntu 12.04 64 bit leaves xsane using old sane software
Justin Harding
justinh.dev at gmail.com
Sun May 13 07:59:27 UTC 2012
Hi
I have not developed Linux libraries, so there may be something obvious I
missed here ...
I want to use my Canon Pixma MP495 scanner from simple-scan. Sane on Ubuntu
12.04 seems old and doesn't include MP495 support.
After building and installing sane on my Ubuntu 12.04 64 bit system,
simple-scan and xsane were still using old drivers. I fixed this by
updating a link to point to the new sane. Is this correct behaviour?
I built and installed sane as follows
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
make
sudo make install
After install I had (new drivers are dated 13 May)
2883607 0 lrwxrwxrwx 1 root root 23 May 13 07:58
/usr/lib/sane/libsane-pixma.so.1 -> libsane-pixma.so.1.0.23
2883608 0 lrwxrwxrwx 1 root root 23 May 13 07:58
/usr/lib/sane/libsane-pixma.so -> libsane-pixma.so.1.0.23
2883606 496 -rwxr-xr-x 1 root root 506908 May 13 07:58
/usr/lib/sane/libsane-pixma.so.1.0.23
2885985 0 lrwxrwxrwx 1 root root 21 May 8 19:54
/usr/lib/x86_64-linux-gnu/libpixman-1.so.0 -> libpixman-1.so.0.24.4
2885986 540 -rw-r--r-- 1 root root 551176 Feb 10 10:10
/usr/lib/x86_64-linux-gnu/libpixman-1.so.0.24.4
3147637 0 lrwxrwxrwx 1 root root 37 May 13 08:03
/usr/lib/x86_64-linux-gnu/sane/libsane-pixma.so.1 -> libsane-pixma.so.1.0.22
3141066 136 -rw-r--r-- 1 root root 138064 Dec 5 04:57
/usr/lib/x86_64-linux-gnu/sane/libsane-pixma.so.1.0.22
so the new 64 bit drivers were installed into /usr/lib/sane, the link used
by xsane and simple-scan still pointed to the old driver
in /usr/lib/x86_64-linux-gnu/sane
It was necessary to make the following change
3147637 0 lrwxrwxrwx 1 root root 37 May 13 08:03
/usr/lib/x86_64-linux-gnu/sane/libsane-pixma.so.1 ->
/usr/lib/sane/libsane--pixma.so.1.0.23
Thanks
Justin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20120513/7208ad7d/attachment.html>
More information about the sane-devel
mailing list