Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

306
Views
Installing libLAS on docker python - No such file or directory

I'm working in python in docker, and I need to add the package libLAS.

I usually just add a simple line to my dockerfile, for libLAS it would is:

Run pip install liblas

Docker seems to be able to build the image, but when I run a python script with the line:

import liblas

it gives the error:

Traceback (most recent call last):
  File "/src/test.py", line 6, in <module>
    import liblas
  File "/usr/local/lib/python2.7/dist-packages/liblas/__init__.py", line 2, in <module>
    from .core import get_version
  File "/usr/local/lib/python2.7/dist-packages/liblas/core.py", line 158, in <module>
    las = ctypes.CDLL(lib_name)
  File "/usr/lib/python2.7/ctypes/__init__.py", line 365, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: liblas_c.so.3: cannot open shared object file: No such file or directory

I don't know what this error message means. Can someone please tell me how I can use liblas in python on docker?

about 4 years ago · Santiago Trujillo
2 answers
Answer question

0

You can add RUN apt-get -y install liblas-c3 in your Dockerfile and then Docker build . to install it.

about 4 years ago · Santiago Trujillo Report

0

You are just installing the python bindings. You need also to install liblas itself. If you are using Ubuntu/Debian, try

$ apt-get install liblas-c3
about 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!