<div dir="ltr">Hello all,<div><br></div><div>I'm trying to build GDAL with GEOS and Curl among other packages and I'm runningĀ into an error when trying to run "cmake --build ."</div><div><br></div><div><font face="monospace">[ 96%] Built target gcore_mdreader<br>[ 96%] Linking CXX shared library libgdal.so<br>/usr/bin/ld: cannot find /home/mazianos/build/curl/lib: file format not recognized<br>/usr/bin/ld: cannot find /home/mazianos/build/geos-3.14.1/lib: file format not recognized<br>/usr/bin/ld: cannot find /home/mazianos/build/geos-3.14.1/lib: file format not recognized<br>/usr/bin/ld: cannot find /home/mazianos/build/geos-3.14.1/lib: file format not recognized<br>/usr/bin/ld: cannot find /home/mazianos/build/geos-3.14.1/lib: file format not recognized<br>collect2: error: ld returned 1 exit status<br>gmake[2]: *** [CMakeFiles/GDAL.dir/build.make:2788: libgdal.so.38.3.12.2] Error 1<br>gmake[1]: *** [CMakeFiles/Makefile2:3352: CMakeFiles/GDAL.dir/all] Error 2<br>gmake: *** [Makefile:146: all] Error 2</font></div><div><font face="monospace"><br></font></div><div><font face="arial, sans-serif">I'm not sure what's causing this, but I had previously ran</font></div><div><font face="monospace">sudo cmake -DGEOS_INCLUDE_DIR=/home/mazianos/build/geos-3.14.1/include \</font></div><div><font face="monospace">-DGEOS_LIBRARY=/home/mazianos/build/geos-3.14.1/lib \</font></div><div><font face="monospace">-DGDAL_USE_HDF5=ON \</font></div><div><font face="monospace">-DEXPAT_INCLUDE_DIR=/home/mazianos/build/expat/include \</font></div><div><font face="monospace">-DEXPAT_LIBRARY=/home/mazianos/build/expat/lib \</font></div><div><font face="monospace">-DCURL_INCLUDE_DIR=/home/mazianos/build/curl/include \</font></div><div><font face="monospace">-DCURL_LIBRARY_RELEASE=/home/mazianos/build/curl/lib \</font></div><div><font face="monospace">-DCMAKE_BUILD_TYPE=Release ..</font></div><div><font face="arial, sans-serif">successfully, so it's able to find geos and curl.</font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Any ideas on what I may have done wrong on the way to this point would be appreciated.</font></div></div>