openslide build error

Benjamin Gilbert bgilbert at cs.cmu.edu
Fri Aug 26 15:32:03 EDT 2016


On Mon, Aug 15, 2016 at 12:01:56PM +0800, Doo Wong via openslide-users wrote:
> The "./configure" step went well but when I run the "make" command, I got
> the following error:
> CCLD     tools/openslide-show-properties
> src/.libs/libopenslide.so: undefined reference to `TIFFIsTiled at LIBTIFF_4.0'
> src/.libs/libopenslide.so: undefined reference to `TIFFRGBAImageEnd at LIBTIFF_4.0'
> src/.libs/libopenslide.so: undefined reference to `TIFFRGBAImageOK at LIBTIFF_4.0'
> [...]
> collect2: error: ld returned 1 exit status
> 
> So I am wondering if this is cause by opencv because I have compile the
> libtiff with opencv?

It shouldn't be related to OpenCV, since OpenSlide doesn't use OpenCV and
vice versa.  But I'm not sure what's happening here.  Is there something
unusual about your libtiff installation?  Are there multiple copies of
libtiff on your system, one which is version 4.0.x and one which is older?

Please run these commands in the OpenSlide source tree and post the output:

    grep LIBTIFF Makefile
    make clean
    make V=1

--Benjamin Gilbert


More information about the openslide-users mailing list