* Jose Carlos Garcia Sogo <jcs...@gmail.com> [090121 00:10]:
> I have been looking at this, but I have a couple of questions:
>
> 1. Where/how/when is dpkg-gensymbols called? I have not seen it called
> when I have added yout file to debian/ dir and rebuilt the package.

dh_makeshlibs calls it

> 2. How does this combine with shlibs info? I mean, while packageing I
> create a shlibs file telling that other packages have to depend on
> mine version >=1.1.8... how will this info treated together with the
> one contained in symbols file?

hat's described in dpkg-shlibdeps' man page:
| dpkg-shlibdeps  has  two  possible  sources  of  information to
| generate dependency information. Either symbols files or shlibs files.
| For each binary that dpkg-shlibdeps analyzes, it finds out the list
| of libraries that it's linked with.  Then, for each library, it looks
| up either the symbols file, or the shlibs file (if the  former
| doesn't  exist). Both files are supposed to be provided by the library
| package and should thus be available as
| /var/lib/dpkg/info/package.symbols or /var/lib/dpkg/info/package.shlibs.

i.e. the shlibs file is then merely compatibility for older version of
it. (and perhaps it might also be used when a binary links against the
library with no symbols from it at all, but I am not sure).

Hochachtungsvoll,
        Bernhard R. Link



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to