<div dir="ltr">Hi,<div><br></div><div>I'm updating our GDAL and other third party libraries.  I'm usually pretty adept at this but I am having a problem building GDAL 3.12.3 on Linux RHEL8 with GCC 13.2.</div><div><br></div><div>The shared library builds okay, but once we get to the apps, I am getting undefined references to two PROJ functions (proj_coordinate_metadata_create & proj_crs_has_point_motion_operation).</div><div><br></div><div>I was struggling with this last Friday with PROJ 9.8.0 but, after this weekend's advice about ETRS89, I switched to PROJ 9.7.1 where I'm having the same problem.</div><div><br></div><div>I haven't seen any similar questions go by and I am stuck.  Any advice?</div><div><br></div><div>My GDAL 3.12.3 cmake command looks like this:</div><div><br></div><div> cmake \<br>   -DCMAKE_BUILD_TYPE=Release \<br>   -DCMAKE_C_COMPILER:FILEPATH=/usr/local/gcc132/bin/gcc \<br>   -DCMAKE_CXX_COMPILER:FILEPATH=/usr/local/gcc132/bin/g++ \<br>   -DCMAKE_POSITION_INDEPENDENT_CODE=ON \<br>   -DCMAKE_INSTALL_PREFIX=/usr/local/devlibs/gdal-3.12.3 \<br>   -DBUILD_JAVA_BINDINGS:BOOL=OFF \<br>   -DSQLite3_INCLUDE_DIR=/usr/local/devlibs/sqlite-3.51.3/include \<br>   -DSQLite3_LIBRARY=/usr/local/devlibs/sqlite-3.51.3/lib/libsqlite3.so \<br>   -DARCHIVE_INCLUDE_DIR=/usr/local/devlibs/libarchive-3.8.6/include \<br>   -DARCHIVE_LIBRARY=/usr/local/devlibs/libarchive-3.8.6/lib64/libarchive.so \<br>   -DCURL_INCLUDE_DIR=/usr/local/devlibs/curl-8.4.0/include \<br>   -DCURL_LIBRARY_RELEASE=/usr/local/devlibs/curl-8.4.0/lib64/libcurl.so \<br>   -DPROJ_INCLUDE_DIR=/usr/local/devlibs/proj-9.7.1/include \<br>   -DPROJ_LIBRARY_RELEASE=/usr/local/devlibs/proj-9.7.1/lib64/libproj.so \<br>   -DGDAL_USE_GEOTIFF_INTERNAL:BOOL=ON \<br>   -DGDAL_USE_WEBP_INTERNAL:BOOL=ON \<br>   -DMRSID_INCLUDE_DIR=/usr/local/devlibs/MrSID_DSDK-9.5.4.4709-rhel6.x86-64.gcc531/Raster_DSDK/include \<br>   -DMRSID_LIBRARY=/usr/local/devlibs/MrSID_DSDK-9.5.4.4709-rhel6.x86-64.gcc531/Raster_DSDK/lib/libltidsdk.so \<br>   -DGDAL_ENABLE_DRIVER_JP2MRSID=ON \<br>   ..</div><div><br></div><div>and my PROJ 9.7.0 is pretty basic, and looks like this:</div><div><br></div><div>   cmake \<br>   -DCMAKE_BUILD_TYPE=Release \<br>   -Wno-dev -Wno-deprecated \<br>   -DCMAKE_C_COMPILER:FILEPATH=/usr/local/gcc132/bin/gcc \<br>   -DCMAKE_CXX_COMPILER:FILEPATH=/usr/local/gcc132/bin/g++ \<br>   -DCMAKE_POSITION_INDEPENDENT_CODE=ON \<br>   -DCMAKE_INSTALL_PREFIX=/usr/local/devlibs/proj-9.7.1 \<br>   ..</div><div><br></div><div>Thank you very much,</div><div><br></div><div>carl</div></div>