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

Jakub Wilk jwilk at debian.org
Sun Sep 5 21:47:25 UTC 2010


* David Paleino <dapal at debian.org>, 2010-09-05, 23:36:
>> >+        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.

I thought about not using find_library at all, just:

lib_name = 'liblas.so.1'

-- 
Jakub Wilk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20100905/d0999d82/attachment.pgp>


More information about the Pkg-grass-devel mailing list