Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #201552

Re: Package shared library with application

From Dan Ritter <dsr@randomstring.org>
Newsgroups linux.debian.user
Subject Re: Package shared library with application
Date 2018-10-23 17:50 +0200
Message-ID <wM76q-7s7-9@gated-at.bofh.it> (permalink)
References <wM6Dp-7iy-31@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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-

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Package shared library with application Damir Porobic <damir_porobic@live.com> - 2018-10-23 17:20 +0200
  Re: Package shared library with application Dan Ritter <dsr@randomstring.org> - 2018-10-23 17:50 +0200
    Re: Package shared library with application Roberto C. Sánchez <roberto@debian.org> - 2018-10-24 01:20 +0200
      Re: Package shared library with application Roberto C. Sánchez <roberto@debian.org> - 2018-10-24 21:00 +0200
        Re: Package shared library with application Roberto C. Sánchez <roberto@debian.org> - 2018-10-24 21:20 +0200
  Re: Package shared library with application deloptes <deloptes@gmail.com> - 2018-10-24 08:30 +0200

csiph-web