1. Lintian tries to detect if a certain file is a shared library or not.
Currently, this is done by grepping the output of `objdump --headers
--private-headers' for `SONAME'. If SONAME is found, it's a shared
library, otherwise not. 

This works ok in most cases and also has the advantage that shared objects
of, for example, Perl or Python modules are not recognized as shared
libraries (this is intentional, since Perl and Python handle these shared
objects directly--without ld.so, AFAIK).

However, on some shared libraries this check fails. For example:

  usr/lib/libgdk_imlib.so.1.1   in gdk-imlib1 package

So, the question is now whether a shared library *must* set SONAME or not.
If it must do so, the gdk-imlib1 package has a bug (and probably others,
too); otherwise Lintian has a bug (in which case it would be good to hear
of a better solution to recognize shared libraries). 


2. The question I have is the exact file format of the `shlibs' control
files. Most packages install shlibs files like this:
  libfoo 1        foo (>= 1.2.3-1)

However, a few packages mention the full path when specifing the shared
library, like here:
  /usr/lib/fakeroot/libfakeroot      0       libc6

Can someone tell me whether the full-path version is correct, too? (Note,
that the Packaging Manual does not tell about this. I'll update the manual
if necessary.)


Thanks,

Chris

--                 Christian Schwarz
                    [EMAIL PROTECTED], [EMAIL PROTECTED],
Don't know Perl?     [EMAIL PROTECTED], [EMAIL PROTECTED]
      
Visit                  PGP-fp: 8F 61 EB 6D CF 23 CA D7  34 05 14 5C C8 DC 22 BA
http://www.perl.com     http://fatman.mathematik.tu-muenchen.de/~schwarz/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to