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?
Rich
On Aug 21, 2017 12:35 AM, “Rich Shepard” <rshepard@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 ‘|’ >
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
On Mon, 21 Aug 2017, Markus Neteler wrote:
Nothing special has to be done except for:
make distclean
and the configure, make, .... as usual.
Markus,
I do a make distclean after each new build/upgrade. In this case there
were libraries (particularly libLAS and its dependencies) needing to be
recomplied and re-installed.
All's working again.
Thanks,
Rich