[GRASS-user] Configure error: liblas not found

Markus Metz markus.metz.giswork at gmail.com
Mon Feb 10 12:43:23 PST 2020


On Mon, Feb 10, 2020 at 7:37 PM Rich Shepard <rshepard at appl-ecosys.com>
wrote:
>
> On Mon, 10 Feb 2020, Markus Metz wrote:
>
> > have a look at the end of config.log, there should be more details about
> > the error.
>
> Markus M,
>
> Mea culpa! I should have thought of doing this. This seems to be the
cause:
>
> configure:7007: 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: libgeotiff.so.2, needed by /usr/lib64/liblas.so, not found (try
>           ^^^^^^^^^^^^^^^
> Installed here is libgeotiff-1.5.1 and /usr/lib64/libgeotiff.so.5

You need to update liblas, i.e. rebuild it against the libgeotiff version
currently on your system
>
>
/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
>           ^^^^^^^^^^^^^
> Installed here is gdal-3.0.2 and /usr/lib64/libgdal.so.26.

this might not work, liblas is no longer maintained, not sure if it can be
compiled against GDAL 3. In the worst case, it can be compiled against GDAL
3, but produce strange errors
>
> libLAS is looking for those specific versions of libgeotiff and libgdal.
> Where do I make grass aware of the newer versions of these libraries?

you need to make liblas aware of newer versions of these libraries, not
grass.

Markus M

>
> Thanks,
>
> Rich
>
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20200210/64322c34/attachment.html>


More information about the grass-user mailing list