Web lists-archives.com

Re: Package shared library with application




On Tue, Oct 23, 2018 at 08:36:37AM +0000, Damir Porobic wrote:
> Hi All,
> 
> 
> I'm trying to package my application together with a shared library that I have written but run now into following error:
> 
> 
> dpkg-shlibdeps: error: no dependency information found for /usr/lib/x86_64-linux-gnu/libkImageAnnotator.so.0.0.1 (used by debian/ksnip/bin/ksnip)
> Hint: check if the library actually comes from a package.
> 
> 
> After searching for a solution, I saw that some folks suggest, as a workaround, to add following to the rules:
> 
> 
> override_dh_shlibdeps:
> 
>      dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
> 
> 
> Is that a correct approach or just a hack that could cause later on problems?

If you're only using the package internally, it's fine.

If you're planning on offering the application to Debian or to
the public, you should make a separate package for
libkImageAnnotator or include it in this one formally.

-dsr-