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

Re: one package, many libraries. dependency break!



On Fri, Jun 15, 2001 at 07:28:47PM +0200, Domenico Andreoli wrote:
> i'm working on a package (libpspell2) which installthree libraries
> (libpspell.so.2.0.2, libpspell-impl.so.3.0.1, libpspell-modules.so.1.0.1),
> as expected it exports a shlibs which lists all of the three libs.
> 
> they depend on each other :(
> 
> the problem is dpkg-shlibdeps that figures out the package(s) from which
> this should depend on. in fact it sees that libpspell-impl depends on
> libpspell and adds libpspell2 (which is the package that provides it,
> that is this) to the dependecy list. so i get a package that depends
> on itself.
> 
> any considerations? should i split this package in three?!?

What is the exact dpkg-shlibdeps command you are using?  Have you set
LD_LIBRARY_PATH to point to the location of the newly generated
libraries in the installation tree, thus, for example, for a pspell
package:

LD_LIBRARY_PATH=debian/libpspell2/usr/lib dpkg-shlibdeps \
  debian/pspell/usr/bin/*

   Julian

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

         Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London
       Debian GNU/Linux Developer,  see http://people.debian.org/~jdg
  Donate free food to the world's hungry: see http://www.thehungersite.com/



Reply to: