<div dir="ltr">Sorry, sent too quickly.<div><br></div><div>I was going to say I'm not sure why I had to set the flag for spatialite, as <a href="https://www.gaia-gis.it/fossil/libspatialite/wiki?name=PROJ.6">https://www.gaia-gis.it/fossil/libspatialite/wiki?name=PROJ.6</a> implies that it is no longer required. But I was definitely getting an error on a checkout from the fossil build from one of the files in the gaiageo directory, so it's possible this support is not complete yet. Spatialite being a bit of a perennial laggard in terms of updates recently.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 31, 2020 at 2:06 PM Stephen Knox <<a href="mailto:stephenknox73@gmail.com">stephenknox73@gmail.com</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"><div dir="ltr">Hi Samweli,<div><br></div><div>I was able to fix it last night with Proj 7 by doing the following (I have a custom build of gdal, spatialite, qgis and proj):</div><div><br></div><div>- purge all libproj < 19 from /usr/local/lib or wherever your custom files are kept</div><div>- Compile and install proj 7</div><div>- Recompile libspatialite against proj 7 (to do that I not only had to specify the location for proj as above, but also set the CFLAGS"-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1" in configure</div><div>- Recompile gdal against new libspatialite and proj7</div><div>- Finally recompile QGIS</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 31, 2020 at 12:49 PM Samweli <<a href="mailto:smwltwesa6@gmail.com" target="_blank">smwltwesa6@gmail.com</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">Hi Stephen, <br>
<br>
Thanks a lot for your help, I have downgraded to PROJ 6.3.1 by installing it<br>
from source. Now I get this error<br>
<br>
[ 39%] Built target pyqtcompat<br>
make[2]: *** No rule to make target<br>
'/usr/lib/x86_64-linux-gnu/libspatialite.so', needed by<br>
'output/lib/libqgis_core.so.3.13.0'.  Stop.<br>
CMakeFiles/Makefile2:1320: recipe for target<br>
'src/core/CMakeFiles/qgis_core.dir/all' failed<br>
make[1]: *** [src/core/CMakeFiles/qgis_core.dir/all] Error 2<br>
Makefile:162: recipe for target 'all' failed<br>
make: *** [all] Error 2<br>
<br>
When I try to install libspatialite, it also installs PROJ 7, causing to<br>
revert to the previous "invalid pointer" error!!<br>
<br>
<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html" rel="noreferrer" target="_blank">http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html</a><br>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote></div>
</blockquote></div>