[QGIS-Developer] crssync issues

Andreas Neumann a.neumann at carto.net
Thu Jan 21 09:49:51 PST 2021


Hi Even,

Yes - indeed that seems to be the case. There seem to be two versions of 
libproj on the system:

/usr/local/lib/libproj.so.19 and /usr/lib/x86_64-linux-gnu/libproj.so.15

The first was compiled by myself, the second seems have to be slipped in 
by the package manager.

And indeed spatialite seems to be the culprit - the only one that links 
to the old version.

Thanks a lot for your help!

Andreas

On 2021-01-21 18:05, Even Rouault wrote:

> Andreas,
> 
> if you've built yourself PROJ on a system that has older proj versions, 
> I'd
> suppose that one of the QGIS dependency links against that older proj 
> (might
> be spatialite for example), and at runtime you get a clash between it 
> and
> 7.2.x
> 
> Check the output of:
> ldd /home/an/dev/QGIS/build/output/bin/crssync | grep proj
> 
> if you get 2 lines, then you're screwed
> 
> Then run the following to find which library links against the system 
> libproj:
> 
> for i in `ldd /home/an/dev/QGIS/output/bin/crssync | awk '{print $3}'`; 
> do \
> ldd $i | grep proj >/dev/null && (echo $i; ldd $i | grep proj); done
> 
> and you'll have to rebuild the library/ies that link against system 
> proj
> against proj 7.2.x
> 
> Even
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20210121/c703b32c/attachment-0001.html>


More information about the QGIS-Developer mailing list