[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dh_shlibdeps in = warnings; dh_shlibdeps out = cyclic dependency on self

On Wed, Sep 07, 2005 at 07:59:29PM +0300, Eddy Petri?or wrote:
> On 9/6/05, Frank K?ster <frank@debian.org> wrote:
> > Justin Pryzby <justinpryzby@users.sourceforge.net> wrote:
> > 
> > > Could someone else also comment on how applications should deal with
> > > shared libraries which are not intended to be used by other programs?
> > 
> > If they aren't used by other programs, there's no need to produce a
> > library.  Perhaps it's convienient to create static libraries during
> > compilation and link against these, but shared libraries are of no use.
> there are two executables in the resulting package: qingy and
> qingy-DirectFB, so probably the library is a good choice (but in the
> same package.
Maybe, you could try statically linking with the library in both
binaries and see what the size impact is.  (The libraries have to be
compiled nonPIC for static code, and PIC for shared code, ultimately).

Does your initial problem have to do with this line in

  Depends: ${shlibs:Depends}, ${misc:Depends}

If one or both of those isn't defined, its not a serious problem.  The
package will build and run fine.  But, if you don't build any ELF
binaries, then you don't need to run (and probably shouldn't run)
dh_shlibdeps, and therefor shouldn't have the ${shlibs:Depends}

${misc:Depends} is apparently for dh_gconf, dh_installcatalogs and a
couple others.  zgrep misc:Dep /usr/share/man/man1/dh*

Have you read the example given in dh_shlibdeps.1?


Reply to: