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) -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110319080436.gb31...@rivendell.home.ouaza.com