<div>Hi again Even,<br></div><div><br></div><div>I work with GDAL installed from the Ubuntu GIS repository. I could not verify, but I doubt it is compiled with the --with-hide-internal-symbols flag. <br></div><div><br></div><div>This programme includes the Makefiles, I am just trying to compile it with minimal change. I experimented removing the link to shapelib.a, but then none of the shapefile methods are found. So it seems the compiler it is not confusing it with the methods in GDAL.<br></div><div><br></div><div>I hope this is not straying too much from GDAL itself. It has been a few years since I last compiled this programme, but it used to be just plug-and-play.<br></div><div><br></div><div>Thank you.<br></div><div class="protonmail_signature_block"><div class="protonmail_signature_block-user"><div><br></div><div>-- <br></div><div>Luís<br></div></div><div><br></div><div class="protonmail_signature_block-proton">Sent with <a href="https://protonmail.com" target="_blank">ProtonMail</a> Secure Email.<br></div></div><div><br></div><div>‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ <br></div><blockquote class="protonmail_quote" type="cite"><p style="margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Ah sorry I read your initial message too fast. I thought you had an issue building GDAL itself.<br></p><p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> <br></p><p style="margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">The SASetupDefaultHooks issue might come from it being defined in shapelib.a and in GDAL too.<br></p><p style="margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Did you build GDAL with --with-hide-internal-symbols ?<br></p><p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> <br></p><p style="margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Any reason to use static linking ? This is generally an extra pain<br></p><p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> <br></p><p style="margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">--<br></p><p style="margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Spatialys - Geospatial professional services<br></p><p style="margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">http://www.spatialys.com<br></p></blockquote><div><br></div>