scikits-image/scikits-image — Issue #133: libfreeimage localization
Author: glyg
Created: 2012-02-10 13:10:15+00:00
State: open

under ubuntu (oneiric - but this might apply on most debian distros), installing FreeImage from the repository (apt-get install libfreeimage3) installs the library share object as:
/usr/lib/libfreeimage.so.3

This is not detected in skimage by freeimage_plugin.py, hence rising

RuntimeError: Could not find the plugin "freeimage" for imread

A workaround consists in linking /usr/lib/libfreeimage.so.3 to /usr/lib/libfreeimage.so :

sudo ln -s /usr/lib/libfreeimage.so.3 /usr/lib/libfreeimage.so