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

Rainer M Krug Rainer at krugs.de
Thu Aug 6 06:35:02 PDT 2015


Glynn Clements <glynn at gclements.plus.com> writes:

> 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).

You are spot on! Great. Thanks a lot.

This solved the problem. I will add this to the test and to the WIKI
page.

-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      Rainer at krugs.de

Skype:      RMkrug

PGP: 0x0F52F982
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 480 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20150806/b2476e9a/attachment.pgp>


More information about the grass-dev mailing list