[Debian-med-packaging] Bug#977308: dpkg-shlibdeps: error: cannot find library (Was: Bug#977308: shasta: hardcoded dependencies on boost 1.71)

Andreas Tille tille at debian.org
Fri Dec 18 15:07:50 GMT 2020


On Fri, Dec 18, 2020 at 07:37:12PM +0500, Andrey Rahmatullin wrote:
> On Fri, Dec 18, 2020 at 03:32:01PM +0100, Andreas Tille wrote:
> > I tried no override_dh_shlibdeps in shasta debian/rules, which has lead
> > to:
> > 
> > dpkg-shlibdeps: error: cannot find library /usr/lib/python3/dist-packages/shasta.cpython-39-x86_64-linux-gnu.so needed by debian/shasta/usr/bin/shasta (ELF format: 'elf64-x86-64' abi:      '0201003e00000000'; RPATH: '')
> Why are you linking an executable to a Python binary module?

That's a good question.  Its actually not me who did this.  I think
that's done here:

   https://salsa.debian.org/med-team/shasta/-/blob/master/debian/rules#L27

but I admit I have no idea why Shayan did so.  I wonder what might be the
proper way to do this to share the library between Python modules and the
executable.

Kind regards

       Andreas.

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list