natjohan's blog

Posted lun. 11 février 2013

Canon Edit : how to solve libtiff.so.3 problem

Edit : 11/02/2013

I just upgraded my system from Fedora 17 to Fedora 18, and my canon printer doesn't work anymore. I followed the debug guide and it's due to libtiff library (Fedora 17 use libtiff.so.3 and Fedora 18 use libtiff.so.4). Here is a way to make things work again.

Download libtiff.so.3 from here : http://rpm.pbone.net/ (check advanced search -> fedora 17) extact the content of the rpm with :

natjohan# rpm2cpio my-packet-libtiff.rmp | cpio -idmv

Copy files in your lib64 :

natjohan# cp -r ./usr/* /usr

create and unlink some symlinks like this :

natjohan# ls -l libtiff*
lrwxrwxrwx. 1 root root     12 30 janv. 13:33 libtiff.so -> libtiff.so.3
lrwxrwxrwx. 1 root root     16 30 janv. 13:35 libtiff.so.3 -> libtiff.so.5.2.0
-rwxr-xr-x. 1 root root 409600 30 janv. 12:26 libtiff.so.3.9.7
lrwxrwxrwx. 1 root root     16 30 janv. 11:41 libtiff.so.5 -> libtiff.so.5.2.0
-rwxr-xr-x. 1 root root 409600 30 janv. 12:26 libtiff.so.5.2.0
lrwxrwxrwx. 1 root root     14 30 janv. 13:35 libtiffxx.so -> libtiffxx.so.3
lrwxrwxrwx. 1 root root     18 30 janv. 13:46 libtiffxx.so.3 -> libtiffxx.so.3.9.7
-rwxr-xr-x. 1 root root  10280 30 janv. 12:26 libtiffxx.so.3.9.7
lrwxrwxrwx. 1 root root     18 30 janv. 11:41 libtiffxx.so.5 -> libtiffxx.so.5.2.0
-rwxr-xr-x. 1 root root  11416 13 déc.  20:27 libtiffxx.so.5.2.0

First you have to unlink symlink from libtiff.so.5 (ie: unlink libtifxx.so, etc), then :

natjohan# ln -s libtiff.so.3 libtiff.so
natjohan# ln -s libtiffxx.so.3 libtiffxx.so
natjohan# ln -sf libtiffxx.so.3.9.7 libtiffxx.so.3

Now the ldconfig command result should be empty, if not you're doing something wrong

If your printer isn't installed yet : download the canon printer officials drivers (rpm) and go in package directory :

natjohan# rpm -Uvh ./packages/cnijfilter-common-3.80-1.x86_64.rpm
        Préparation...                       ################################# [100%]
        Updating / installing...
        1:cnijfilter-common-3.80-1         ################################# [100%]
natjohan# rpm -Uvh ./packages/cnijfilter-mg3200series-3.80-1.x86_64.rpm --nodeps
        Préparation...                       ################################# [100%]
        Updating / installing...
        1:cnijfilter-mg3200series-3.80-1   ################################# [100%]

Now you can add/use your canon MG3250, enjoy !

Category: Linux
Tags: fix canon libtiff.so lib printer

Comments