<div dir="ltr">Hello,<div>I'm having trouble compiling GDAL 3.6.0 on Centos7 with JP2KAK driver using Kakadu 8.2.</div><div>I'm following the below instructions to compile KDU</div><div><a href="https://trac.osgeo.org/gdal/wiki/JP2KAK">https://trac.osgeo.org/gdal/wiki/JP2KAK</a><br></div><div>And I'm using the following cmake options to compile GDAL</div><div>-DGDAL_USE_KDU=ON -DKDU_INCLUDE_DIR="${INSTALLDIR}" -DKDU_LIBRARY="${INSTALLDIR}"/lib/libkdu_v82R.so -DKDU_AUX_LIBRARY="${INSTALLDIR}"/lib/libkdu.a -DGDAL_ENABLE_DRIVER_JP2KAK:BOOL=ON<br></div><div>Everything goes fine until <span style="background-color:rgb(17,17,17);color:rgb(255,255,255);font-family:Menlo,"DejaVu Sans Mono","Liberation Mono",Consolas,"Ubuntu Mono","Courier New","andale mono","lucida console",monospace;font-size:13px;white-space:pre-wrap">Linking CXX shared library libgdal.so</span></div><div>where I get multiple errors type <span style="background-color:rgb(17,17,17);color:rgb(255,255,255);font-family:Menlo,"DejaVu Sans Mono","Liberation Mono",Consolas,"Ubuntu Mono","Courier New","andale mono","lucida console",monospace;font-size:13px;white-space:pre-wrap">jp2kakdataset.cpp:(.text+0x396): undefined reference to `kdu_supp...</span></div><div><br></div><div>I've noticed the issue has a</div><div><br></div><div><br></div></div>