To fix libexif under debian/ubuntu, do the following (you may need to do most as root or using sudo)
  1. mkdir newemptydir ; cd newemptydir
  2. apt-get build-dep libexif10
  3. apt-get source -b libexif10
  4. emacs  libexif-0.6.9/libexif/exif-data.c ; # then replace Nikon with DISABLE-Nikon
  5. cd libexif-0.6.9 ; dpkg-buildpackage
  6. cd .. ; dpkg -i libexif10_0.6.9-4ubuntu1_i386.deb libexif-dev_0.6.9-4ubuntu1_i386.deb