FreeImage 3.5.2 doesn't work at all on 64bit Unix. It segfaults with an assertion message:
TIFFClientOpen: Assertion `sizeof(tmsize_t)==sizeof(void*)
This is another severe regression.
The bug is caused by an erroneous tiffconf.h. The file contains configuration values that are only valid for Windows. For example TIFF_SSIZE_T is defined as signed int for all Unix platforms although it must be a signed long int on all 64bit Unix platforms. The update to TIFF4 may even re-introduce a bug that I have fixed for 3.14.0 (fixed saving of G3 & G4 compressed TIFF with 1bpp on 64bit Linux)
/ Signed size type /
Solution: Don't ship hardcoded configuration files instead use the configure scripts.