[Liblas-devel] ./configure --with-gdal

Hamish hamish_b at yahoo.com
Fri May 21 19:38:09 EDT 2010


Peter wrote:
> I've migrated to on Ubuntu 10.0.4 LTS and am having some issues with
> liblas install.
...
> i get this:
> checking for GDAL... GDAL enabled with gdal-config found in PATH
>  /usr/local/bin/gdal-config reports version 1.7.2
...
> checking for ST_Create in -lgeotiff... no
> checking for libgeotiff... no
> configure: error: You must configure a libgeotiff if you are using GDAL
> binaries.  You can configure using a GDAL source tree without
> libgeotiff, but not from binaries.

> with no errors witch lead to Problem2: when I try to use the command
> line tools i get the following:
> $ lasinfo ~/Documents/LiDAR/laswork/big_sub19_fr.las
> lasinfo: error while loading shared libraries:
> liblas.so.1: cannot open
> shared object file: No such file or directory


add /usr/local/lib to /etc/ld.so.conf and (as root) run ldconfig.

(or add /usr/local/lib as a single-line file called "locallib" in
/etc/ld.so.conf.d/)


alternatively do:
 LD_LIBRARY_PATH=/usr/local/lib; export LD_LIBRARY_PATH



regards,
Hamish


      


More information about the Liblas-devel mailing list