<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Thank you for help. I’ve changed gdal config like this:<div class=""><br class=""><div class=""><div class=""><div class="">cd $(gdal4_src) && PKG_CONFIG_PATH=$(openjpeg_prefix)/lib/pkgconfig \</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>CPPFLAGS="-I$(proj_prefix)/include" LDFLAGS="-L$(proj_prefix)/lib" \</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>./configure $(CONFIGURE_FLAGS) --prefix=$(gdal4_prefix) --with-openjpeg \</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>--with-static-proj=$(proj_prefix) --disable-all-optional-drivers --with-pic --without-python \</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>--without-netcdf --without-sqlite3 --without-pg --enable-driver-grib</div></div><div class=""><br class=""></div><div class="">Now after make I get:</div><div class="">checking for OPENJPEG… yes</div><div class="">but still:</div><div class="">GDAL is now configured for x86_64-pc-linux-gnu</div><div class="">… OpenJPEG support: no</div><div class=""><br class=""></div><div class="">and no JP2OpenJPEG in the gdalinfo list of formats.</div><div class=""><br class=""></div><div class="">Slav Korolev</div><div class=""><a href="mailto:korolevs@msn.com" class="">korolevs@msn.com</a></div><div class=""><br class=""></div><div><br class=""><blockquote type="cite" class=""><div class="">On Jan 14, 2021, at 4:51 AM, Even Rouault <<a href="mailto:even.rouault@spatialys.com" class="">even.rouault@spatialys.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">On mercredi 13 janvier 2021 17:27:22 CET<span class="Apple-converted-space"> </span></span><a href="mailto:korolevs@msn.com" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">korolevs@msn.com</a><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class=""><span class="Apple-converted-space"> </span>wrote:</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">Need help to get support OPENJPEG 2.1.1 in GDAL 3.1.4 on CentOS 7.<br class="">Here are my configurations:<br class=""><br class="">openjpeg-configure:<br class=""><br class=""> cmake -DBUILD_THIRDPARTY:BOOL=ON \<br class=""> -DCMAKE_BUILD_TYPE=Release \<br class=""> -DCMAKE_INSTALL_PREFIX:PATH=$(prefix)/deps \<br class=""> -DBUILD_SHARED_LIBS:bool=off)<br class=""><br class="">gdal4-configure<br class=""><br class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>CPPFLAGS="-I$(proj_prefix)/include<br class="">-I$(openjpeg_prefix)/include/openjpeg-2.1" \ LDFLAGS="-L$(proj_prefix)/lib<br class="">-L$(openjpeg_prefix)/lib/openjpeg-2.1/" \ ./configure<br class="">--prefix=$(gdal4_prefix) --with-openjpeg \<br class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>--with-static-proj=$(proj_prefix) --disable-all-optional-drivers --with-pic<br class="">--without-python \ --without-netcdf --without-sqlite3 --without-pg<br class="">--enable-driver-grib)<br class=""></blockquote><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">try</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">PKG_CONFIG_PATH=$(openjpeg_prefix)/lib/pkgconfig ./configure ...</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">--<span class="Apple-converted-space"> </span></span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Spatialys - Geospatial professional services</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><a href="http://www.spatialys.com/" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">http://www.spatialys.com</a></div></blockquote></div><br class=""></div></div></body></html>