Package: python3-pypamtest Version: 1.0.7-2 It's not possible to load the python module as it's not properly linked with libpamtest.so
$ python3 Python 3.7.5 (default, Oct 15 2019, 16:15:10) [GCC 9.2.1 20191008] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import pypamtest Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: ../../libpamtest.so: cannot open shared object file: No such file or directory >>> This is the ldd output on the cython library: linux-vdso.so.1 (0x00007fffd3f9d000) ../../libpamtest.so => not found libpython3.7m.so.1.0 => /usr/lib/x86_64-linux-gnu/libpython3.7m.so.1.0 (0x00007efddd608000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007efddd417000) libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007efddd3e9000) libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007efddd3cd000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007efddd3aa000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007efddd3a2000) libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007efddd39d000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007efddd24e000) /lib64/ld-linux-x86-64.so.2 (0x00007efdddb20000)