[GRASS-user] 7.9.dev build issue
Markus Neteler
neteler at osgeo.org
Wed Nov 13 01:24:01 PST 2019
Rich,
On Tue, Nov 12, 2019 at 8:11 PM Rich Shepard <rshepard at appl-ecosys.com> wrote:
> On Tue, 12 Nov 2019, Markus Neteler wrote:
>
> > Please check `config.log` for details.
>
> Markus,
>
> I should have attached that to my message.
>
> I think that I see the error:
>
> configure:7009: gcc -o conftest -g -O2 -O2 -fPIC -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -Wl,--export-dynamic -L/usr/lib64 conftest.c -L/usr/lib -llas -llas_c -L/usr/lib64 /usr/lib64/libboost_program_options.so /usr/lib64/libboost_thread.so /usr/lib64/libgdal.so /usr/lib64/libgeotiff.so /usr/lib64/libtiff.so /usr/lib64/liblaszip.so 1>&5
> /usr/lib64/gcc/x86_64-slackware-linux/5.5.0/../../../../x86_64-slackware-linux/bin/ld: warning: libgdal.so.20, needed by /usr/lib64/liblas.so, not found (try using -rpath or -rpath-link)
^-- libgdal.so.20 not found
However, since you use GDAL 3, the same is "libgdal.so.26".
(see https://github.com/OSGeo/grass/pull/191/files)
Means, that liblas needs to be recompiled against the (new) GDAL
installation on your machine.
> /usr/lib64/gcc/x86_64-slackware-linux/5.5.0/../../../../x86_64-slackware-linux/bin/ld: warning: libproj.so.13, needed by /usr/lib64/libgeotiff.so, not found (try using -rpath or -rpath-link)
^-- libproj.so.13 not found
The same here: libgeotiff needs to be recompiled against the updated PROJ.
...
> This morning I upgraded to proj-6.2.1-x86_64-1_SBo, geos-3.8.0-x86_64-1_SBo,
> and gdal-3.0.2-x86_64-1_SBo. And libLAS-1.8.1-x86_64-1_SBo is also
> installed, but fails to rebuild.
Yes, it is important to recompile in the right order to keep up with
the dependency tree
(unless you install packages from the distro where these dependencies
have been respected in the respective compile scripts).
HTH,
Markus
More information about the grass-user
mailing list