[Debian-med-packaging] Dynamic library inside Python module python-pysam not found

Andreas Tille andreas at an3as.eu
Wed Jan 25 15:17:14 UTC 2017


Hi,

I'm trying to upgrade the python-pysam package.  When I build the
current status in Git[1] the package builds fine.  However I tried to
build python-pbcore that Build-Depends python-pysam and the build time
tests of python-pbcore failed with

  ERROR: Failure: ImportError (libchtslib.so: cannot open shared object file: No such file or directory)

When installing python-pysam 0.10.0+ds-1 I get

$ ls -l /usr/lib/python2.7/dist-packages/pysam/libchtslib.*.so
-rw-r--r-- 1 root root 103864 Jan 24 04:13 /usr/lib/python2.7/dist-packages/pysam/libchtslib.x86_64-linux-gnu.so
$ ldd /usr/lib/python2.7/dist-packages/pysam/*.so | grep -e ^/ -e "not found"
/usr/lib/python2.7/dist-packages/pysam/libcalignedsegment.x86_64-linux-gnu.so:
        libchtslib.so => not found
/usr/lib/python2.7/dist-packages/pysam/libcalignmentfile.x86_64-linux-gnu.so:
        libchtslib.so => not found
/usr/lib/python2.7/dist-packages/pysam/libcbcf.x86_64-linux-gnu.so:
        libchtslib.so => not found
/usr/lib/python2.7/dist-packages/pysam/libcbgzf.x86_64-linux-gnu.so:
        libchtslib.so => not found
/usr/lib/python2.7/dist-packages/pysam/libcfaidx.x86_64-linux-gnu.so:
        libchtslib.so => not found
/usr/lib/python2.7/dist-packages/pysam/libchtslib.x86_64-linux-gnu.so:
/usr/lib/python2.7/dist-packages/pysam/libcsamfile.x86_64-linux-gnu.so:
        libchtslib.so => not found
/usr/lib/python2.7/dist-packages/pysam/libctabixproxies.x86_64-linux-gnu.so:
        libchtslib.so => not found
/usr/lib/python2.7/dist-packages/pysam/libctabix.x86_64-linux-gnu.so:
        libchtslib.so => not found
/usr/lib/python2.7/dist-packages/pysam/libcutils.x86_64-linux-gnu.so:
        libchtslib.so => not found
/usr/lib/python2.7/dist-packages/pysam/libcvcf.x86_64-linux-gnu.so:
        libchtslib.so => not found


I'm wondering why libchtslib is not found by all those dynamic libs.

Any help is welcome

        Andreas.


[1] https://anonscm.debian.org/git/debian-med/python-pysam.git

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list