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