man-pages/man5/deb-shlibs.5.html
2021-03-31 01:06:50 +01:00

103 lines
2.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of deb-shlibs</TITLE>
</HEAD><BODY>
<H1>deb-shlibs</H1>
Section: dpkg suite (5)<BR>Updated: 2020-03-23<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
deb-shlibs - Debian shared library information file
<A NAME="lbAC">&nbsp;</A>
<H2>DESCRIPTION</H2>
<P>
<B>shlibs</B>
files map shared library names and versions
(<I>sonames</I>)
to dependencies suitable for a package control file. There is one
entry per line. Blank lines are <B>not</B> allowed. Lines beginning
with an <B>#</B> character are considered commentary, and are ignored.
All other lines must have the format
<DL COMPACT>
<DT id="1"><DD>
[<I>type</I><B>:</B>]
<I>library</I>
<I>version</I>
<I>dependencies</I>
</DL>
<P>
The <I>library</I> and <I>version</I> fields are whitespace-delimited,
but the <I>dependencies</I> field extends to the end of the line. The
<I>type</I> field is optional and normally not needed.
<P>
The <I>dependencies</I> field has the same syntax as the <B>Depends</B>
field in a binary control file, see <B><A HREF="/cgi-bin/man/man2html?5+deb-control">deb-control</A></B>(5).
<A NAME="lbAD">&nbsp;</A>
<H2>EXAMPLES</H2>
<P>
The
<B>shlibs</B>
file for a typical library package, named
<I>libcrunch1</I>,
that provides one library whose soname is
<I>libcrunch.so.1</I>,
might read
<DL COMPACT>
<DT id="2"><DD>
libcrunch 1 libcrunch1 (&gt;= 1.2-1)
</DL>
<P>
The <I>dependencies</I>
must mention the most recent version of the package that added new
symbols to the library: in the above example, new symbols were added to
version 1.2 of
<I>libcrunch</I>.
This is not the only reason the dependencies might need to be
tightened.
<A NAME="lbAE">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?5+deb-control">deb-control</A></B>(5),
<B><A HREF="/cgi-bin/man/man2html?1+dpkg-shlibdeps">dpkg-shlibdeps</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?5+deb-symbols">deb-symbols</A></B>(5).
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="3"><A HREF="#lbAB">NAME</A><DD>
<DT id="4"><A HREF="#lbAC">DESCRIPTION</A><DD>
<DT id="5"><A HREF="#lbAD">EXAMPLES</A><DD>
<DT id="6"><A HREF="#lbAE">SEE ALSO</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:06:02 GMT, March 31, 2021
</BODY>
</HTML>