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 Makefile and README Tom On Thu, Aug 12, 2021 at 3:08 AM Maris Nartiss <maris....@gmail.com> wrote: > 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: > https://github.com/OSGeo/grass/issues/435#issuecomment-688807074 > > Good luck, > Māris. > > > 2021-08-11 22:06 GMT+03:00, Thomas Adams <tea...@gmail.com>: > > 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: /usr/include/stdio.h:252: Syntax error at '__filename' > > Error: /usr/include/stdio.h:253: Syntax error at '__modes' > > Error: /usr/include/stdio.h:254: Syntax error at '__stream' > > Error: /usr/include/stdio.h:304: Syntax error at '__stream' > > Error: /usr/include/stdio.h:304: Syntax error at '__buf' > > Error: /usr/include/stdio.h:308: Syntax error at '__stream' > > Error: /usr/include/stdio.h:308: Syntax error at '__buf' > > Error: /usr/include/stdio.h:309: Syntax error at 'size_t' > > Error: /usr/include/stdio.h:314: Syntax error at '__stream' > > Error: /usr/include/stdio.h:314: Syntax error at '__buf' > > Error: /usr/include/stdio.h:326: Syntax error at '__stream' > > Error: /usr/include/stdio.h:327: Syntax error at '__format' > > Error: /usr/include/stdio.h:332: Syntax error at '__format' > > Error: /usr/include/stdio.h:334: Syntax error at '__s' > > Error: /usr/include/stdio.h:335: Syntax error at '__format' > > Error: /usr/include/stdio.h:341: Syntax error at '__s' > > Error: /usr/include/stdio.h:341: Syntax error at '__format' > > Error: /usr/include/stdio.h:347: Syntax error at '__format' > > Error: /usr/include/stdio.h:349: Syntax error at '__s' > > Error: /usr/include/stdio.h:349: Syntax error at '__format' > > Error: /usr/include/stdio.h:354: Syntax error at '__s' > > Error: /usr/include/stdio.h:355: Syntax error at 'const' > > Error: /usr/include/stdio.h:355: Syntax error at '__format' > > Error: /usr/include/stdio.h:358: Syntax error at '__s' > > Error: /usr/include/stdio.h:359: Syntax error at 'const' > > Error: /usr/include/stdio.h:359: Syntax error at '__format' > > Error: /usr/include/stdio.h:379: Syntax error at '__fmt' > > Error: /usr/include/stdio.h:382: Syntax error at '__fmt' > > Error: /usr/include/stdio.h:391: Syntax error at '__stream' > > Error: /usr/include/stdio.h:392: Syntax error at '__format' > > Error: /usr/include/stdio.h:397: Syntax error at '__format' > > Error: /usr/include/stdio.h:399: Syntax error at '__s' > > Error: /usr/include/stdio.h:400: Syntax error at '__format' > > Error: /usr/include/stdio.h:416: Syntax error at '__stream' > > Error: /usr/include/stdio.h:417: Syntax error at '__format' > > Error: /usr/include/stdio.h:418: Syntax error at '__format' > > Error: /usr/include/stdio.h:419: Syntax error at '__s' > > Error: /usr/include/stdio.h:420: Syntax error at '__format' > > Error: /usr/include/stdio.h:432: Syntax error at '__s' > > Error: /usr/include/stdio.h:432: Syntax error at '__format' > > Error: /usr/include/stdio.h:440: Syntax error at '__format' > > Error: /usr/include/stdio.h:444: Syntax error at '__s' > > Error: /usr/include/stdio.h:445: Syntax error at '__format' > > Error: /usr/include/stdio.h:465: Syntax error at '__s' > > Error: /usr/include/stdio.h:466: Syntax error at '__format' > > Error: /usr/include/stdio.h:468: Syntax error at '__format' > > Error: /usr/include/stdio.h:470: Syntax error at '__s' > > Error: /usr/include/stdio.h:471: Syntax error at '__format' > > Error: /usr/include/stdio.h:564: Syntax error at '__s' > > Error: /usr/include/stdio.h:564: Syntax error at 'FILE' > > Error: /usr/include/stdio.h:603: Syntax error at '__lineptr' > > Error: /usr/include/stdio.h:604: Syntax error at '__n' > > Error: /usr/include/stdio.h:605: Syntax error at 'FILE' > > Error: /usr/include/stdio.h:606: Syntax error at '__lineptr' > > Error: /usr/include/stdio.h:607: Syntax error at '__n' > > Error: /usr/include/stdio.h:608: Syntax error at 'FILE' > > Error: /usr/include/stdio.h:616: Syntax error at '__lineptr' > > Error: /usr/include/stdio.h:617: Syntax error at '__n' > > Error: /usr/include/stdio.h:618: Syntax error at '__stream' > > Error: /usr/include/stdio.h:626: Syntax error at '__s' > > Error: /usr/include/stdio.h:626: Syntax error at '__stream' > > Error: /usr/include/stdio.h:646: Syntax error at '__ptr' > > Error: /usr/include/stdio.h:647: Syntax error at 'size_t' > > Error: /usr/include/stdio.h:647: Syntax error at '__stream' > > Error: /usr/include/stdio.h:652: Syntax error at '__ptr' > > Error: /usr/include/stdio.h:653: Syntax error at 'size_t' > > Error: /usr/include/stdio.h:653: Syntax error at '__s' > > Error: /usr/include/stdio.h:673: Syntax error at '__ptr' > > Error: /usr/include/stdio.h:674: Syntax error at 'size_t' > > Error: /usr/include/stdio.h:674: Syntax error at '__stream' > > Error: /usr/include/stdio.h:675: Syntax error at '__ptr' > > Error: /usr/include/stdio.h:676: Syntax error at 'size_t' > > Error: /usr/include/stdio.h:676: Syntax error at '__stream' > > Error: /usr/include/stdio.h:731: Syntax error at '__stream' > > Error: /usr/include/stdio.h:731: Syntax error at '__pos' > > Error: /usr/include/x86_64-linux-gnu/sys/select.h:101: Syntax error at > > '__readfds' > > Error: /usr/include/x86_64-linux-gnu/sys/select.h:102: Syntax error at > > '__writefds' > > Error: /usr/include/x86_64-linux-gnu/sys/select.h:103: Syntax error at > > '__exceptfds' > > Error: /usr/include/x86_64-linux-gnu/sys/select.h:104: Syntax error at > > '__timeout' > > Error: /usr/include/x86_64-linux-gnu/sys/select.h:113: Syntax error at > > '__readfds' > > Error: /usr/include/x86_64-linux-gnu/sys/select.h:114: Syntax error at > > '__writefds' > > Error: /usr/include/x86_64-linux-gnu/sys/select.h:115: Syntax error at > > '__exceptfds' > > Error: /usr/include/x86_64-linux-gnu/sys/select.h:116: Syntax error at > > '__timeout' > > Error: /usr/include/x86_64-linux-gnu/sys/select.h:117: Syntax error at > > '__sigmask' > > Error: /usr/include/x86_64-linux-gnu/sys/stat.h:205: Syntax error at > > '__file' > > Error: /usr/include/x86_64-linux-gnu/sys/stat.h:206: Syntax error at > > '__buf' > > Error: /usr/include/x86_64-linux-gnu/sys/stat.h:234: Syntax error at > > '__file' > > Error: /usr/include/x86_64-linux-gnu/sys/stat.h:235: Syntax error at > > '__buf' > > Error: /usr/include/x86_64-linux-gnu/sys/stat.h:259: Syntax error at > > '__file' > > Error: /usr/include/x86_64-linux-gnu/sys/stat.h:260: Syntax error at > > '__buf' > > Status: Processing description list. > > Status: Writing to OBJ.x86_64-pc-linux-gnu/imagery.py. > > Status: Wrapping complete. > > double free or corruption (out) > > Aborted (core dumped) > > make[1]: *** [Makefile:107: OBJ.x86_64-pc-linux-gnu/imagery.py] Error 134 > > make[1]: Leaving directory '/home/teaiii/grass-7.8.5/lib/python/ctypes' > > make: *** [Makefile:86: default] Error 2 > > > > *Error in /home/teaiii/grass-7.8.5/vector/v.out.ogr :* > > teaiii@tea-Leopard-WS:~/grass-7.8.5/vector/v.out.ogr$ make > > VERSION_NUMBER=7.8.5 > > /home/teaiii/grass-7.8.5/dist.x86_64-pc-linux-gnu/tools/g.html2man.py > > > "/home/teaiii/grass-7.8.5/dist.x86_64-pc-linux-gnu/docs/html/v.out.ogr.html" > > > "/home/teaiii/grass-7.8.5/dist.x86_64-pc-linux-gnu/docs/man/man1/v.out.ogr.1" > > Traceback (most recent call last): > > File "/home/teaiii/grass-7.8.5/dist.x86_64-pc-linux-gnu/tools/ > > g.html2man.py", line 45, in main > > p.feed(line) > > File "/usr/lib/python3.8/html/parser.py", line 111, in feed > > self.goahead(0) > > File "/usr/lib/python3.8/html/parser.py", line 171, in goahead > > k = self.parse_starttag(i) > > File "/usr/lib/python3.8/html/parser.py", line 345, in parse_starttag > > self.handle_starttag(tag, attrs) > > File > "/home/teaiii/grass-7.8.5/dist.x86_64-pc-linux-gnu/tools/ghtml.py", > > line 208, in handle_starttag > > while not self.is_allowed(tag): > > File > "/home/teaiii/grass-7.8.5/dist.x86_64-pc-linux-gnu/tools/ghtml.py", > > line 204, in is_allowed > > return tag not in self.excluded and tag in allowed[self.top()] > > KeyError: None > > > > During handling of the above exception, another exception occurred: > > > > Traceback (most recent call last): > > File "/home/teaiii/grass-7.8.5/dist.x86_64-pc-linux-gnu/tools/ > > g.html2man.py", line 78, in <module> > > main() > > File "/home/teaiii/grass-7.8.5/dist.x86_64-pc-linux-gnu/tools/ > > g.html2man.py", line 49, in main > > (infile, err.lineno, err.offset, err.msg)) > > AttributeError: 'KeyError' object has no attribute 'lineno' > > make: *** [../../include/Make/Html.make:11: > > > /home/teaiii/grass-7.8.5/dist.x86_64-pc-linux-gnu/docs/man/man1/v.out.ogr.1] > > Error 1 > > > > *Error in /home/teaiii/grass-7.8.5/man :* > > > > VERSION_NUMBER=7.8.5 > > /home/teaiii/grass-7.8.5/dist.x86_64-pc-linux-gnu/tools/g.html2man.py > > > "/home/teaiii/grass-7.8.5/dist.x86_64-pc-linux-gnu/docs/html/v.out.ogr.html" > > > "/home/teaiii/grass-7.8.5/dist.x86_64-pc-linux-gnu/docs/man/man1/v.out.ogr.1" > > Traceback (most recent call last): > > File "/home/teaiii/grass-7.8.5/dist.x86_64-pc-linux-gnu/tools/ > > g.html2man.py", line 45, in main > > p.feed(line) > > File "/usr/lib/python3.8/html/parser.py", line 111, in feed > > self.goahead(0) > > File "/usr/lib/python3.8/html/parser.py", line 171, in goahead > > k = self.parse_starttag(i) > > File "/usr/lib/python3.8/html/parser.py", line 345, in parse_starttag > > self.handle_starttag(tag, attrs) > > File > "/home/teaiii/grass-7.8.5/dist.x86_64-pc-linux-gnu/tools/ghtml.py", > > line 208, in handle_starttag > > while not self.is_allowed(tag): > > File > "/home/teaiii/grass-7.8.5/dist.x86_64-pc-linux-gnu/tools/ghtml.py", > > line 204, in is_allowed > > return tag not in self.excluded and tag in allowed[self.top()] > > KeyError: None > > > > During handling of the above exception, another exception occurred: > > > > Traceback (most recent call last): > > File "/home/teaiii/grass-7.8.5/dist.x86_64-pc-linux-gnu/tools/ > > g.html2man.py", line 78, in <module> > > main() > > File "/home/teaiii/grass-7.8.5/dist.x86_64-pc-linux-gnu/tools/ > > g.html2man.py", line 49, in main > > (infile, err.lineno, err.offset, err.msg)) > > AttributeError: 'KeyError' object has no attribute 'lineno' > > make[2]: *** [../include/Make/Html.make:11: > > > /home/teaiii/grass-7.8.5/dist.x86_64-pc-linux-gnu/docs/man/man1/v.out.ogr.1] > > Error 1 > > make[2]: Leaving directory '/home/teaiii/grass-7.8.5/man' > > make[1]: *** [Makefile:53: manpages] Error 2 > > make[1]: Leaving directory '/home/teaiii/grass-7.8.5/man' > > make: *** [Makefile:46: default] Error 2 > > > > Thank you, again! > > > > Best, > > Tom > > > > On Wed, Aug 11, 2021 at 12:43 PM Anna Petrášová <kratocha...@gmail.com> > > wrote: > > > >> > >> > >> On Tue, Aug 10, 2021 at 10:06 AM Thomas Adams <tea...@gmail.com> 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 > >>> /home/teaiii/grass-7.8.5/man > >>> > >> > >> What are the actual errors when you go in the directories and run make? > >> > >>> > >>> I'm sure I have created some library incompatibilities, so I'm trying > to > >>> identify where the problems are. I know I have python 3.8 installed, > but > >>> when I run python -V I get: > >>> > >>> Python 2.7.18 > >>> > >>> Do I need to compile against python 3.8; if so, how do I do that? > >>> > >>> My configure looks like this: > >>> > >>> CFLAGS="-O2 -Wall" LDFLAGS="-s" ./configure \ > >>> --enable-64bit \ > >>> --with-cxx \ > >>> --enable-largefile=yes \ > >>> --with-nls \ > >>> --with-readline \ > >>> --with-pthread \ > >>> --with-gdal=/usr/local/bin/gdal-config \ > >>> --with-proj --with-proj-share=/usr/local/share/proj \ > >>> --with-proj-includes=/usr/local/include \ > >>> --with-proj-libs=/usr/local/lib \ > >>> --with-geos=/usr/local/bin/geos-config \ > >>> --with-wxwidgets=/usr/local/bin/wx-config \ > >>> --with-cairo \ > >>> --with-opengl-libs=/usr/include/GL \ > >>> --with-freetype=yes \ > >>> --with-freetype-includes=/usr/include/freetype2/ \ > >>> --with-postgres=yes \ > >>> --with-postgres-includes=/usr/local/include \ > >>> --with-sqlite=yes \ > >>> --with-mysql=yes \ > >>> --with-mysql-includes=/usr/include/mysql \ > >>> --with-odbc=no \ > >>> --with-blas \ > >>> --with-lapack \ > >>> --with-liblas=yes \ > >>> --with-liblas-config=/usr/bin/liblas-config \ > >>> --with-netcdf=/usr/local/bin/nc-config \ > >>> --with-blas-libs=/usr/local/lib \ > >>> --with-lapack-includes=/usr/include \ > >>> --with-lapack-libs=/usr/lib \ > >>> --with-blas-includes=/usr/local/include \ > >>> --with-zstd \ > >>> --with-zstd-includes=/usr/local/include \ > >>> --with-zstd-libs=/usr/local/lib > >>> > >>> with no errors. > >>> > >>> Any/all suggestions are appreciated... > >>> > >>> Regards, > >>> Tom > >>> > >>> -- > >>> > >>> _______________________________________________ > >>> grass-dev mailing list > >>> grass-...@lists.osgeo.org > >>> https://lists.osgeo.org/mailman/listinfo/grass-dev > >>> > >> > > > > -- > > Thomas E Adams, III > > 207 Chowning Place > > Blacksburg, VA 24060 > > tea...@gmail.com (personal) > > t...@terrapredictions.org (work) > > > > 1 (513) 739-9512 (cell) > > > -- Thomas E Adams, III 207 Chowning Place Blacksburg, VA 24060 tea...@gmail.com (personal) t...@terrapredictions.org (work) 1 (513) 739-9512 (cell)
_______________________________________________ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user