[GRASS-user] 7.3.svn build fails with new libraries

Markus Neteler neteler at osgeo.org
Sun Aug 20 21:04:38 PDT 2017


On Aug 21, 2017 12:35 AM, "Rich Shepard" <rshepard at appl-ecosys.com> wrote:
>
>   Yesterday I upgraded this host from Slackware-14.1 to -14.2 and I'm now
> looking for applications that need to be rebuilt against the new
libraries.
> After running 'svn up' on the development trunk and configuring the new
code
> I tried to build it. Unlike the past couple of years, there were a bunch
of
> errors which surprised me.
>
>   The first error was building d.grid. Running 'make' in that subdirectory
> produced this:
>
> if [
> /"/home/rshepard/gis/grass/grass7_trunk/dist.i686-pc-linux-gnu/bin/d.grid"
> /!= "" ] ; then
>
GISRC=/home/rshepard/gis/grass/grass7_trunk/dist.i686-pc-linux-gnu/demolocation/.grassrc73
> GISBASE=/home/rshepard/gis/grass/grass7_trunk/dist.i686-pc-linux-gnu
>
PATH="/home/rshepard/gis/grass/grass7_trunk/dist.i686-pc-linux-gnu/bin:/home/rshepard/gis/grass/grass7_trunk/dist.i686-pc-linux-gnu/bin:/home/rshepard/gis/grass/grass7_trunk/dist.i686-pc-linux-gnu/scripts:$PATH"
>
PYTHONPATH="/home/rshepard/gis/grass/grass7_trunk/dist.i686-pc-linux-gnu/etc/python:/home/rshepard/gis/grass/grass7_trunk/dist.i686-pc-linux-gnu/gui/wxpython:$PYTHONPATH"
>
LD_LIBRARY_PATH="/home/rshepard/gis/grass/grass7_trunk/dist.i686-pc-linux-gnu/bin:/home/rshepard/gis/grass/grass7_trunk/dist.i686-pc-linux-gnu/bin:/home/rshepard/gis/grass/grass7_trunk/dist.i686-pc-linux-gnu/scripts:/home/rshepard/gis/grass/grass7_trunk/dist.i686-pc-linux-gnu/lib:/home/rshepard/gis/grass/grass7_trunk/dist.i686-pc-linux-gnu/lib:/usr/lib/qt/lib:/usr/lib/qt/lib:"
> LC_ALL=C LANG=C LANGUAGE=C
> /home/rshepard/gis/grass/grass7_trunk/dist.i686-pc-linux-gnu/bin/d.grid
> --html-description < /dev/null | grep -v '</body>\|</html>' >
> d.grid.tmp.html ; fi
> /home/rshepard/gis/grass/grass7_trunk/dist.i686-pc-linux-gnu/bin/d.grid:
> error while loading shared libraries: libproj.so.9: cannot open shared
> object file: No such file or directory
> ../../include/Make/Html.make:14: recipe for target 'd.grid.tmp.html'
failed
> make: *** [d.grid.tmp.html] Error 1 rm d.grid.tmp.html
>
>  It's true that libproj.so.9 does not exist because proj-4.9.1 is
installed
> here and it provides:
>
> $ ls /usr/lib/libproj*
> /usr/lib/libproj.la*  /usr/lib/libproj.so.12@
> /usr/lib/libproj.so@  /usr/lib/libproj.so.12.0.0*
>
>   What do I do to have make recognize the newer verson of this library?

Nothing special has to be done except for:

make distclean

and the configure, make, .... as usual.

Markus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20170821/b5d3374f/attachment.html>


More information about the grass-user mailing list