<div dir="ltr"><div dir="ltr"><div>Kai,</div><div>Rebuilt Geos with your insight, and two spaces between all -D entries, including eliminating MrSid that was complied under gcc 521 or so and might likely cause problems, using <a href="https://gdal.org/build_hints.html">GDAL build hints</a>, and we have success on on <b>target gcore_mdreader</b>, and I'll move on to sorting out what is wrong with missing symbols in whatever provides 'nc_open_mem', viz:</div><div>[ 89%] Built target gcore_mdreader<br>[ 89%] Linking CXX shared library libgdal.so<br>/usr/bin/ld: frmts/netcdf/CMakeFiles/gdal_netCDF.dir/netcdfdataset.cpp.o: in function `netCDFDataset::Open(GDALOpenInfo*)':<br>netcdfdataset.cpp:(.text+0x283d4): undefined reference to `nc_open_mem'<br>/usr/bin/ld: netcdfdataset.cpp:(.text+0x2852a): undefined reference to `nc_open_mem'</div><div><br></div><div>Looks like updating libnetcdf...or perhaps not <a href="https://github.com/Unidata/netcdf-c/issues/2166">netcdf won't play nice with hdf5-1.12.1 till 4.9 dist release</a> so drop netcdf for now.</div><div>And have to figure out turning off DODs, but wow, spotting a missing space, I'd have to perl that or something. But, have now arrived at:</div><div><br></div><div>[ 86%] Built target gcore_mdreader<br>[ 86%] Linking CXX shared library libgdal.so<br>/usr/bin/ld: frmts/dods/CMakeFiles/gdal_DODS.dir/dodsdataset2.cpp.o: in function `get_variable(libdap::DDS&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':<br>dodsdataset2.cpp:(.text+0x624): undefined reference to `libdap::www2id(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' <------snip</div><div><br></div><div>and appears -DGDAL_ENABLE_DRIVER_DODS:BOOL=OFF is not doing it. So, continuing.</div><div>Thanks again.<br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 4, 2022 at 2:26 PM <<a href="mailto:dg0yt@darc.de">dg0yt@darc.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">It looks like you missed a " " after -DCMAKE_BUILD_TYPE=Release when configuring GEOS:<br>
<br>
> set_property(TARGET GEOS::geos APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE-DCMAKE_INSTALL_PREFIX=/USR/LOCAL)<br>
<br>
Kai.<br>
</blockquote></div></div>