Re: [GRASS-dev] GRASS 7.8.5 compile errors

2021-08-13 Thread Maris Nartiss
Don't forget to run make distclean before reconfiguring and recompiling GRASS. If you would be on a Gentoo, I would suggest to run revdep-rebuild that would rebuild all packages linking to proj. On Ubuntu you just have to look for a PPA with GIS packages compiled with the right proj version.

Re: [GRASS-dev] GRASS 7.8.5 compile errors

2021-08-12 Thread Even Rouault
It might be possible that your GDAL build is linking against libgeotiff and/or libspatialite built against libproj.so.15 Le 12/08/2021 à 19:00, Thomas Adams a écrit : Hi Māris, Thank you. I did earlier find that I did have two proj libraries, so I removed libproj.so.15. I also ran sudo

Re: [GRASS-dev] GRASS 7.8.5 compile errors

2021-08-12 Thread Thomas Adams
Thank you. Even! I'll check my GDAL... Tom On Thu, Aug 12, 2021 at 1:03 PM Even Rouault wrote: > It might be possible that your GDAL build is linking against libgeotiff > and/or libspatialite built against libproj.so.15 > Le 12/08/2021 à 19:00, Thomas Adams a écrit : > > Hi Māris, > > Thank

Re: [GRASS-dev] GRASS 7.8.5 compile errors

2021-08-12 Thread Thomas Adams
Hi Māris, Thank you. I did earlier find that I did have two proj libraries, so I removed libproj.so.15. I also ran sudo ldconfig. I also tried removing from my config anything that I had not explicitly compiled from source against proj that I compiled, giving: CFLAGS="-O2 -Wall" LDFLAGS="-s"

Re: [GRASS-dev] GRASS 7.8.5 compile errors

2021-08-12 Thread Maris Nartiss
Hello Thomas, I gave you a wrong path. Try this one: ldd /home/teaiii/grass-7.8.5/dist.x86_64-pc-linux-gnu/lib/libgrass_gproj.so The problem still boils down to having different incompatible system libraries during compilation and runtime. You can also search for libproj.so files in /usr/lib(64)

Re: [GRASS-dev] GRASS 7.8.5 compile errors

2021-08-12 Thread Thomas Adams
Hi Māris, When I run the command ldd /home/teaiii/grass-7.8.5/lib/libgrass_gproj.so | grep proj , I get: ldd: /home/teaiii/grass-7.8.5/lib/libgrass_gproj.so: No such file or directory There is no libgrass_gproj.so file in /home/teaiii/grass-7.8.5/lib/l in fact just subdirectories along with

Re: [GRASS-dev] GRASS 7.8.5 compile errors

2021-08-12 Thread Maris Nartiss
This is a know issue. Most likely you have two versions of PROJ library installed. Make sure to have only one llibproj.so file present. Here's a check for it (one line – good, more than one – bad): ldd /home/teaiii/grass-7.8.5/lib/libgrass_gproj.so | grep proj Here's a old bug report:

Re: [GRASS-dev] GRASS 7.8.5 compile errors

2021-08-11 Thread Thomas Adams
Hi Anna, Thank you for your help sorting this out... Not surprisingly, I get the same errors in grass-7.8.6RC2 *Error in /home/teaiii/grass-7.8.5/lib/python/ctypes:* Error: /usr/include/stdio.h:246: Syntax error at '__filename' Error: /usr/include/stdio.h:247: Syntax error at '__modes' Error:

Re: [GRASS-dev] GRASS 7.8.5 compile errors

2021-08-11 Thread Anna Petrášová
On Tue, Aug 10, 2021 at 10:06 AM Thomas Adams wrote: > Hi all! > > I just upgraded from Ubuntu 18.04 to 20.04 and have to re-compile/install > GRASS 7.8.5. I'm getting these errors: > > Errors in: > /home/teaiii/grass-7.8.5/lib/python/ctypes > /home/teaiii/grass-7.8.5/vector/v.out.ogr >

[GRASS-dev] GRASS 7.8.5 compile errors

2021-08-10 Thread Thomas Adams
Hi all! I just upgraded from Ubuntu 18.04 to 20.04 and have to re-compile/install GRASS 7.8.5. I'm getting these errors: Errors in: /home/teaiii/grass-7.8.5/lib/python/ctypes /home/teaiii/grass-7.8.5/vector/v.out.ogr /home/teaiii/grass-7.8.5/man I'm sure I have created some library