[DebianGIS-dev] Bug#595603: python-liblas: OSError: liblas.so: cannot open shared object file: No such file or directory

David Paleino dapal at debian.org
Sun Sep 5 21:36:49 UTC 2010


On Sun, 5 Sep 2010 22:11:29 +0200, Jakub Wilk wrote:

> * David Paleino <dapal at debian.org>, 2010-09-05, 19:35:
> >+        lib_name = find_library('las')
> 
> This works (at least for the time being), but I don't think it is 
> appropriate, as it can cause troubles in future. AFAIUI python-liblas 
> relies on the current ABI of liblas, so the SONAME should be hardcoded 
> here.

As you said in #595608, hardcoding the SONAME in find_library() isn't the right
usage (and it doesn't work at all). So you're suggesting to use something like:

    lib_name = find_library('las')[:-1] + '1'

? This seems hacky to me, but it's the "hardcoding" you're asking for.
However, you're right, the current patch might cause problems in future.

-- 
 . ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://deb.li/dapal
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20100905/bfad41c6/attachment-0001.pgp>


More information about the Pkg-grass-devel mailing list