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

Re: pbuilder and ${shlibs:Depends}



On Sat, 19 Mar 2011, Panayiotis Karabassis wrote:
> So, to summarize:
> 
> If:
> a) /usr/bin/foo of package foo needs at RUN-TIME /usr/lib/libbar.so
> b) /usr/lib/libbar.so is packaged under package libbar
> 
> then I need to:
> c) add package libbar-dev as a BUILD dependency of foo.
> 
> And dh_shlibdeps will do its magic? How does this work exactly?

Yes. man dpkg-shlibdeps to understand the details.

> d) Does libbar-dev provide a DEBIAN/shlibs file that says that libbar.so
> is packaged in package libbar?

No, "libbar" provides the shlibs/symbols file but libbar-dev depends on
libbar so you get it implicitely. And you also need the /usr/include files
in libbar-dev...

> Is the above correct?

Almost.

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Follow my Debian News ▶ http://RaphaelHertzog.com (English)
                      ▶ http://RaphaelHertzog.fr (Français)


Reply to: