<div dir="ltr">1. sjtu@sjtu:~/code/openslide-master$ grep LIBTIFF Makefile<div>LIBTIFF_CFLAGS = -I/usr/include/x86_64-linux-gnu  </div><div>LIBTIFF_LIBS = -ltiff  </div><div><span class="" style="white-space:pre"> </span>$(LIBXML2_LIBS) $(OPENJPEG_LIBS) $(LIBTIFF_LIBS) $(LIBPNG_LIBS) \</div><div><span class="" style="white-space:pre">  </span>$(OPENJPEG_CFLAGS) $(LIBTIFF_CFLAGS) $(LIBPNG_CFLAGS) \</div><div>sjtu@sjtu:~/code/openslide-master$ </div><div>2.   after run make V=1:</div><div><div>src/.libs/libopenslide.so: undefined reference to `TIFFIsTiled@LIBTIFF_4.0'</div><div>src/.libs/libopenslide.so: undefined reference to `TIFFRGBAImageEnd@LIBTIFF_4.0'</div><div>src/.libs/libopenslide.so: undefined reference to `TIFFRGBAImageOK@LIBTIFF_4.0'</div><div>src/.libs/libopenslide.so: undefined reference to `TIFFClientOpen@LIBTIFF_4.0'</div><div>src/.libs/libopenslide.so: undefined reference to `TIFFFileName@LIBTIFF_4.0'</div><div>src/.libs/libopenslide.so: undefined reference to `TIFFCurrentDirectory@LIBTIFF_4.0'</div><div>src/.libs/libopenslide.so: undefined reference to `TIFFIsCODECConfigured@LIBTIFF_4.0'</div><div>src/.libs/libopenslide.so: undefined reference to `TIFFComputeTile@LIBTIFF_4.0'</div><div>src/.libs/libopenslide.so: undefined reference to `TIFFGetField@LIBTIFF_4.0'</div><div>src/.libs/libopenslide.so: undefined reference to `TIFFRGBAImageGet@LIBTIFF_4.0'</div><div>src/.libs/libopenslide.so: undefined reference to `TIFFSetDirectory@LIBTIFF_4.0'</div><div>src/.libs/libopenslide.so: undefined reference to `TIFFGetFieldDefaulted@LIBTIFF_4.0'</div><div>src/.libs/libopenslide.so: undefined reference to `TIFFRGBAImageBegin@LIBTIFF_4.0'</div><div>src/.libs/libopenslide.so: undefined reference to `TIFFClose@LIBTIFF_4.0'</div><div>src/.libs/libopenslide.so: undefined reference to `TIFFReadRawTile@LIBTIFF_4.0'</div><div>src/.libs/libopenslide.so: undefined reference to `TIFFReadDirectory@LIBTIFF_4.0'</div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-08-27 3:32 GMT+08:00 Benjamin Gilbert <span dir="ltr"><<a href="mailto:bgilbert@cs.cmu.edu" target="_blank">bgilbert@cs.cmu.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, Aug 15, 2016 at 12:01:56PM +0800, Doo Wong via openslide-users wrote:<br>
> The "./configure" step went well but when I run the "make" command, I got<br>
> the following error:<br>
> CCLD     tools/openslide-show-<wbr>properties<br>
> src/.libs/libopenslide.so: undefined reference to `TIFFIsTiled@LIBTIFF_4.0'<br>
> src/.libs/libopenslide.so: undefined reference to `TIFFRGBAImageEnd@LIBTIFF_4.0'<br>
> src/.libs/libopenslide.so: undefined reference to `TIFFRGBAImageOK@LIBTIFF_4.0'<br>
</span>> [...]<br>
<span class="">> collect2: error: ld returned 1 exit status<br>
><br>
> So I am wondering if this is cause by opencv because I have compile the<br>
> libtiff with opencv?<br>
<br>
</span>It shouldn't be related to OpenCV, since OpenSlide doesn't use OpenCV and<br>
vice versa.  But I'm not sure what's happening here.  Is there something<br>
unusual about your libtiff installation?  Are there multiple copies of<br>
libtiff on your system, one which is version 4.0.x and one which is older?<br>
<br>
Please run these commands in the OpenSlide source tree and post the output:<br>
<br>
    grep LIBTIFF Makefile<br>
    make clean<br>
    make V=1<br>
<span class="HOEnZb"><font color="#888888"><br>
--Benjamin Gilbert<br>
</font></span></blockquote></div><br></div>