<div dir="ltr"><div>Hi Michael,</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 27 Feb 2024 at 11:40, Michael Otto via gdal-dev <<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><br><span style="font-size:10pt;font-family:sans-serif">with a lot of
effort and support from this group I created a first static version of
GDAL (incl. the apps) under Linux x64 using vcpkg.</span></blockquote><div><br></div><div>Yay</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><span style="font-size:10pt;font-family:sans-serif">For testing I
copied the built apps and the data files to different target platforms
and set the environment variables accordingly.</span><br><span style="font-size:10pt;font-family:sans-serif">In a current Linux
Mint VM and in an Alpine Linux 3.13 Docker container, the command line
calls worked perfectly.</span></blockquote><div><br></div><div>What system did you build gdal on/under?</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><span style="font-size:10pt;font-family:sans-serif">Under a Fedora
Linux 39 Docker container (docker pull fedora, ...) an error occurs when
executing ogrinfo, ogr2ogr and gdal_translate (the other tools were not
tested):</span></blockquote><div><br></div><div>What's the host OS?</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><br><span style="font-size:10pt;font-family:sans-serif">>> Segmentation
fault (core dumped)</span><br><br><span style="font-size:10pt;font-family:sans-serif">Does anyone have
an idea or know what the problem is?</span></blockquote><div><br></div><div>What does a backtrace from gdb produce?</div><div><br></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div class="gmail_quote"><div><font face="monospace">$ gdb --args ogrinfo </font></div></div><div class="gmail_quote"><div><font face="monospace">... loading stuff</font></div></div><div class="gmail_quote"><div><font face="monospace">(gdb) run</font></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div class="gmail_quote"><div><font face="monospace">...</font></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div class="gmail_quote"><div><font face="monospace">Program received signal SIGSEGV, Segmentation fault.</font></div></div><div class="gmail_quote"><div><font face="monospace">0x12c0ffee in _a_function ()</font></div></div><div class="gmail_quote"><div><font face="monospace">(gdb) thread apply all backtrace</font></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div class="gmail_quote"><div><font face="monospace">... the backtrace ...</font></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div class="gmail_quote"><div><font face="monospace">(gdb) quit</font></div></div></blockquote><div class="gmail_quote"><div><br></div><div>Use the gdal tools from the <font face="monospace">installed/{platform}/tools/gdal/debug/</font> vcpkg build folder, they're more likely to produce readable traces.</div><div><br></div><div>Rob :)</div><div><br></div><div><br></div></div></div>