Opened 11 years ago

Closed 9 years ago

#1256 closed defect (fixed)

python liblas error

Reported by: garret12 Owned by: live-demo@…
Priority: normal Milestone: OSGeoLive8.0
Component: OSGeoLive Keywords: liblas


From fresh install of OSGeoLive 7.0, I get this error when trying to import liblas in python

from liblas import file

Traceback (most recent call last):

File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/dist-packages/liblas/", line 2, in <module>

from core import get_version

File "/usr/lib/python2.7/dist-packages/liblas/", line 157, in <module>

las = ctypes.CDLL(lib_name)

File "/usr/lib/python2.7/ctypes/", line 365, in init

self._handle = _dlopen(self._name, mode)

Change history (6)

comment:1 by hamish, 10 years ago

Milestone: OSGeoLive7.0OSGeoLive7.9

comment:2 by kalxas, 10 years ago

Component: OSGeo4WLiveDVD
Milestone: OSGeoLive7.9OSGeoLive8.0
Owner: changed from osgeo4w-dev@… to live-demo@…

no time to fix for 7.9

comment:3 by hamish, 10 years ago

Milestone: OSGeoLive8.0OSGeoLive7.9

the error is:

OSError: cannot open shared object file: No such file or directory

/usr/lib/ exists, it's easy to just add the missing symlink. hopefully worked-around in r11304.

The actual symlink is provided by the liblas-c-dev .deb package, but we don't install that. (it wants to bring in another 33mb (compressed) of other packages)


comment:4 by Bas Couwenberg, 10 years ago

The incorrect SONAME was fixed in the Debian package recent. I sent the below to the list yesterday:

The libLAS package in Debian unstable was fixed with the upload of liblas 1.7.0+dfsg-3. The SONAME fix is in git at:;a=commitdiff;h=9bf3ef806126c7b2372ea34e593ed7bcde026cc1

I suggest you rebuild the binary package using the latest source from the Debian GIS git repository, if this is not too invasive in the release process.

Uploading the recent changes to Debian unstable will result in FTBFS until #739807 affecting the boost package is fixed. I'm waiting for boost to get fixed before preparing a new build for Debian.

Fixed libLAS packages will at least be available for OSGeoLive8.0

comment:5 by kalxas, 10 years ago

Milestone: OSGeoLive7.9OSGeoLive8.0

workaround confirmed for nightly [11315], moving to 8.0

comment:6 by darkblueb, 9 years ago

Resolution: fixed
Status: newclosed

Fixed in 8.5a3

Note: See TracTickets for help on using tickets.