Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to locate libLAS #5

Open
rkrug opened this issue Jan 7, 2019 · 0 comments
Open

Unable to locate libLAS #5

rkrug opened this issue Jan 7, 2019 · 0 comments
Labels

Comments

@rkrug
Copy link
Member

rkrug commented Jan 7, 2019

Hi

I need your help here - the the build fails, because liblas is not found.

The formula installs fine when omitting the --with-liblas option ( as done in commit 7c020cc just now).

The config log gives the following error message:

checking for liblas-config... /usr/local/opt/liblas/bin/liblas-config
checking for liblas/capi/liblas.h... yes
configure: error: *** Unable to locate libLAS library.

I would assume, that liblas-config provides the correct paths (these are from my local system, where I get the same error):

0:01 $ liblas-config --libs
-L/usr/local/Cellar/liblas/1.8.1_1/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/2.3.1_2/lib/libgdal.dylib /usr/local/lib/libgeotiff.dylib /usr/local/lib/libtiff.dylib

which gives, for the first path,

0:02 $ ls -la /usr/local/Cellar/liblas/1.8.1_1/lib
total 2224
drwxr-xr-x   8 rainer  staff     272 Aug 23  2016 .
drwxr-xr-x  13 rainer  staff     442 Jan  7 09:39 ..
-rw-r--r--   1 rainer  staff  790892 Jan  7 09:39 liblas.2.4.0.dylib
lrwxr-xr-x   1 rainer  staff      18 Aug 23  2016 liblas.3.dylib -> liblas.2.4.0.dylib
lrwxr-xr-x   1 rainer  staff      14 Aug 23  2016 liblas.dylib -> liblas.3.dylib
-rw-r--r--   1 rainer  staff  324060 Jan  7 09:39 liblas_c.2.4.0.dylib
lrwxr-xr-x   1 rainer  staff      20 Aug 23  2016 liblas_c.3.dylib -> liblas_c.2.4.0.dylib
lrwxr-xr-x   1 rainer  staff      16 Aug 23  2016 liblas_c.dylib -> liblas_c.3.dylib

I have no idea here why it does not find the liblas library (and which file the config is looking for).

Is this a liblas issue, or grass?

@rkrug rkrug added the bug label Jan 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant