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

Re: A package depends on a library built from the same source... how?

On Sun, Apr 11, 1999 at 02:00:10PM +1000, Hamish Moffatt wrote:
> On Sat, Apr 10, 1999 at 09:33:04PM -0600, Marcelo E. Magallon wrote:
> > 
> >    LD_LIBRARY_PATH=`pwd`/debian/tmp/libbar2/usr/lib dpkg-shlibdeps
> > 
> >  but I can't get it to pick the right dependency of foo on libbar2
> >  unless I install libbar2...
> dpkg-shlibdeps looks in /var/lib/dpkg/info/*.shlibs; if the 
> library package has just been built from the same upstream source,
> it will either see the old version, or nothing at all. 

If the dependency is between the packages created from the same source,
you cannot use dpkg-shlibdeps, which relyies only on installed packages,
but you must provide the dependency inside the control file:

Depends: libdb2 (=${Source-Version})

| fpolacco@icenet.fi       fpolacco@debian.org       fpolacco@prosa.it
| 6F7267F5 fingerprint 57 16 C4 ED C9 86 40 7B 1A 69 A1 66 EC FB D2 5E
| fabrizio.polacco@nokia.com                     gsm: +358 40 707 2468

Reply to: