<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Well that was easy, thanks Mateusz!<div class=""><br class=""></div><div class="">I realize now what threw me off was seeing the following after running ‘configure’</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  SQLite support:            yes</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">But the script was seeing the wrong sqlite3</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Anyhow, I’m glad I asked the list, thanks again.</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Doug</span></div><div class=""><br class=""></div><div class="">On Tue, 20 Oct 2020 at 04:34, Doug Niven <<a href="mailto:dniven@ucsc.edu" class="">dniven@ucsc.edu</a>> wrote:<br class=""><blockquote type="cite" class=""><br class="">I’m having trouble building GDAL 3.1.3 with sqlite3 3.33.0 in Centos 7.<br class=""><br class="">The compile steps work, but the build does not.<br class="">I believe this is because of conflicts between the built-in version of sqlite3 in Centos (3.7.17) and the newer one (3.33.0) I’ve built in /usr/local/ and /usr/local/lib<br class="">/usr/local/lib, where the sqlite3 library files are, is in my LD_LIBRARY_PATH<br class="">/usr/local/bin, where sqlite3 is, is also in my PATH<br class=""><br class="">I’m curious how others have successfully managed to build GDAL with the above in mind.<br class=""></blockquote><br class="">As usual:<br class=""><br class="">./configure --help<br class="">./configure --help | grep -i sqlite<br class=""><br class="">So, you should be able to<br class="">./configure --with-sqlite3=/usr/local<br class=""><br class="">as per<br class=""><a href="https://github.com/OSGeo/gdal/blob/master/gdal/m4/ax_lib_sqlite3.m4#L36-L37" class="">https://github.com/OSGeo/gdal/blob/master/gdal/m4/ax_lib_sqlite3.m4#L36-L37</a><br class=""><br class="">Best regards,<br class="">-- <br class="">Mateusz Loskot, <a href="http://mateusz.loskot.net" class="">http://mateusz.loskot.net</a></div></div></body></html>