gpx export and location

Olly Betts olly at survex.com
Wed May 6 04:19:15 BST 2020


On Sun, May 03, 2020 at 11:24:52PM +0200, Lojze Blatnik wrote:
> We noticed interesting behavior regarding exporting gpx. On ubuntu 20.04
> gpx export doesn't produce correct location. Docker recipe (see Dockerfile
> and entrypoint.sh):
> https://github.com/DZRJL/build/tree/211a227a8da5b4e0c2d76e9b50ddfdfd770faa27
> 
> Interestingly, on ubuntu 18.04 it works correctly, but survexport doesn't
> come with the distro, hence extracting the deb package and hacking the
> missing library :)

| ln -s /usr/lib/x86_64-linux-gnu/libproj.so.12 /usr/lib/x86_64-linux-gnu/libproj.so.13

You can't safely do that - the two libraries have different soversions
which means they aren't ABI compatible.  That's likely the reason why
you are getting incorrect output.

But you're using packages from the PPA[*] judging by the filename, so
why not using the bionic package for 18.04 rather than trying to hack
the disco one to work on bionic?

[*] https://launchpad.net/~survex-devs/+archive/ubuntu/ppa/+packages

> In the attachment .3d and .gpx for both cases.

The list seems to have stripped the attachment.  If you can reproduce
this without the hack above, please send directly to me.

Cheers,
    Olly



More information about the Survex mailing list