[OpenSlide] LibTiff dependency

jcupitt at gmail.com jcupitt at gmail.com
Tue Jul 8 05:25:22 EDT 2014


On 8 July 2014 10:14, Sebastian Schmittner <thaligar.krell at gmail.com> wrote:
> I am compiling OpenSlide in Ubuntu 12.04.04 and during configure it states
> that libtiff was not found.
>
> checking for LIBTIFF... no
> checking for library containing TIFFOpen... -ltiff
>
> Actually libtiff4 and libtiff4-dev are installed (3.9.5-2ubuntu1.6).
> pkg-config does not find it because there is no *.pc file.

libtiff only (finally, we waited so long) gained a .pc file with
libtiff-4. You have libtiff 3.9.5, though ubuntu/debian call it
libtiff4, confusingly.

You need to download and install the latest stable libtiff4. I expect
you know, but don't install to /usr!

> The LIBS_FLAGS and C_FLAGS were also tried to be set to the folder with the
> *.so files. This did not help either.

I would set CFLAGS and LDFLAGS.

John


More information about the openslide-users mailing list