2

I compiled GRASS 7 on Ubuntu 12.10, with liblas in order to run r.in.lidar and v.in.lidar. I now want to import .las data; the option in file -> import raster data -> LAS LIDAR points import is given and enabled, but when I select it nothing happens.

It seems to be a problem with libLAS. The console error message says:

Unable to fetch interface description for command 'r.in.lidar'. Details: r.in.lidar: error while loading shared libraries: liblas_c.so.2.2.0: cannot open shared object file: No such file or directory.

Addition: running lasinfo from terminal works.

Any idea where the bug could be?

3
  • Please check the console for error messages and post them here (bu editing your posting).
    – markusN
    Commented Mar 25, 2013 at 14:06
  • Seems to be a problem with liblas: Unable to fetch interface description for command 'r.in.lidar'. Details: r.in.lidar: error while loading shared libraries: liblas_c.so.2.2.0: cannot open shared object file: No such file or directory
    – Peter
    Commented Mar 25, 2013 at 14:37
  • Addition: running lasinfo from terminal works
    – Peter
    Commented Mar 25, 2013 at 15:02

1 Answer 1

4

Problem solved. Did a make clean (that is what I omitted before), then again $ "-g -Wall" ./configure --with-liblas=/usr/local/bin/liblas-config, followed by make and sudo make install. Works now!

1
  • 1
    Excellent (note that "male distclean" is better to really clean up stuff). Please accept your answer to close the issue here.
    – markusN
    Commented Mar 26, 2013 at 6:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.