[GRASS-dev] grass7: problem --with-liblas

Glynn Clements glynn at gclements.plus.com
Tue May 31 12:03:32 EDT 2011


Markus Metz wrote:

> > I have compiled liblas from the repo [1] and then grass7 with
> > `--with-liblas`, unfortunately without success

> > $ liblas-config --libs
> > -L/usr/local/lib -llas -llas_c -L/usr/lib
> > optimized;/usr/lib/libboost_program_options-mt.so;debug;/usr/lib/libboost_program_options-mt.so

FWIW, I have exactly the same problem.

> I am not sure if this second line returned by liblas-config --libs
> starting with "optimized;" is valid.

It isn't.

> On my installation, liblas-config
> --libs gives me
> -L/usr/local/lib -llas -llas_c -L/usr/lib64
> /usr/lib64/libboost_program_options-mt.so /usr/local/lib64/libgdal.so
> /usr/local/lib64/libgeotiff.so /usr/lib64/libtiff.so
> /usr/lib64/libxml2.so /usr/local/lib64/liblaszip.so
> 
> Is lasinfo working at all? Just a wild guess: have you changed the
> default CMAKE_BUILD_TYPE? And just out of curiosity: can you send me
> (offlist) your liblas-config file?

The relevant line from liblas-config is:

LIBS="-L$libdir -llas -llas_c -L/usr/lib optimized;/usr/lib/libboost_program_options-mt-1_42.so;debug;/usr/lib/libboost_program_options-mt.so"

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


More information about the grass-dev mailing list