[GRASS-dev] Error when compiling using homebrew - says liblas but is gdal???

Glynn Clements glynn at gclements.plus.com
Thu Aug 6 06:26:03 PDT 2015


Rainer M Krug wrote:

> | configure:6181: checking for liblas-config
> | configure:6238: clang -o conftest -g -O2     -I/usr/local/opt/gettext/include -I/usr/local/Cellar/liblas/1.8.0/include -I/usr/local/include -I/usr/local/include -I/usr/local/include   conftest.c  -L/usr/local/Cellar/liblas/1.8.0/lib -llas -llas_c -L/usr/local/lib /usr/local/lib/libboost_program_options-mt.dylib /usr/local/lib/libboost_thread-mt.dylib /usr/local/Cellar/gdal/1.11.1_2/lib/libgdal.dylib /usr/local/lib/libgeotiff.dylib /usr/local/lib/libtiff.dylib 1>&5
> | clang: error: no such file or directory: '/usr/local/Cellar/gdal/1.11.1_2/lib/libgdal.dylib'

The configure script runs "liblas-config --libs" to obtain the
libraries. liblas-config is saying that it needs
/usr/local/Cellar/gdal/1.11.1_2/lib/libgdal.dylib but the linker
complains that the file doesn't exist.

It may be that libLAS was built against a GDAL library which has since
been removed. In which case, you need to either restore that library
or re-build libLAS to use and existing version of GDAL (or without
GDAL; the dependency is optional).

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list