<div dir="ltr">I'm having a similar issue on ubuntu 14.04<br><br>It's not finding the openjpeg2/openjpeg libraries... but I installed the system versions <div><div><br></div><div><<<THESE ARE ALL INSTALLED >></div><div>libopenjpeg-dev - development files for libopenjpeg2, a JPEG 2000 image library</div><div>libopenjpeg2 - JPEG 2000 image compression/decompression library</div><div>libopenjpeg2-dbg - debug symbols for libopenjpeg2, a JPEG 2000 image library</div><div>openjpeg-tools - command-line tools using the JPEG 2000 library</div><div><br></div><div>and I can locate them as well.</div><div><div>/usr/lib/debug/usr/lib/x86_64-linux-gnu/<a href="http://libopenjpeg-2.1.3.0.so">libopenjpeg-2.1.3.0.so</a></div><div>/usr/lib/x86_64-linux-gnu/<a href="http://libopenjpeg-2.1.3.0.so">libopenjpeg-2.1.3.0.so</a></div><div>/usr/lib/x86_64-linux-gnu/libopenjpeg.a</div><div>/usr/lib/x86_64-linux-gnu/libopenjpeg.so</div><div>/usr/lib/x86_64-linux-gnu/libopenjpeg.so.2</div></div><div><br></div><div><br></div><div>How do I force ./configure to look in the /usr/lib/x86_64-linux-gnu directories for these packages?</div><div><br></div><br><div><br></div><div><div>ecking for pkg-config... /usr/bin/pkg-config</div><div>checking pkg-config is at least version 0.9.0... yes</div><div>checking for ZLIB... yes</div><div>checking for OPENJPEG2... no</div><div>checking for OPENJPEG... no</div><div>checking for OpenJPEG (fallback)... yes</div><div>checking for LIBTIFF... yes</div><div>checking for GLIB2... yes</div><div>checking for CAIRO... yes</div><div>checking for LIBPNG... yes</div><div>checking for GDKPIXBUF... yes</div><div>checking for LIBXML2... yes</div><div>checking for SQLITE3... yes</div><div>checking for VALGRIND... no</div></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, May 29, 2015 at 4:57 PM Benjamin Gilbert <<a href="mailto:bgilbert@cs.cmu.edu">bgilbert@cs.cmu.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 2015-05-29 11:19, Justin JEONG wrote:<br>
> OPENJPEG2_LIBS=-L/home/justin/local/bin/openjpeg-2.1.0-Linux-i386/lib<br>
<br>
This fails because you have not included -lopenjp2. If you add it, you<br>
will get the error below.<br>
<br>
> /usr/bin/ld: skipping incompatible<br>
> /home/justin/local/bin/openjpeg-2.1.0-Linux-i386/lib/libopenjp2.so<br>
> when searching for -lopenjp2<br>
<br>
It appears that you are trying to build a 64-bit OpenSlide and link it<br>
to a 32-bit OpenJPEG.<br>
<br>
--Benjamin Gilbert<br>
<br>
_______________________________________________<br>
openslide-users mailing list<br>
<a href="mailto:openslide-users@lists.andrew.cmu.edu" target="_blank">openslide-users@lists.andrew.cmu.edu</a><br>
<a href="https://lists.andrew.cmu.edu/mailman/listinfo/openslide-users" target="_blank">https://lists.andrew.cmu.edu/mailman/listinfo/openslide-users</a><br>
</blockquote></div>