update from main archive 960919
[jlayton/glibc.git] / shlib-versions
1 # This file defines the shared library version numbers we will install.
2
3 # The following lines list filename patterns matching canonical configurations,
4 # and the associated versions to use for various libraries.  The entire
5 # list is processed, with earlier entries taking precedence over later
6 # entries.  So loose patterns at the end of the list can give defaults.
7
8 # Configuration         Library versions
9 # -------------         ------- --------
10
11 # The interface to -lm depends only on cpu, not on operating system.
12 i?86-*-*                libm=6
13 m68k-*-*                libm=6
14 alpha-*-*               libm=6
15
16 # We provide libc.so.6 for Linux kernel versions 2.0 and later.
17 i?86-*-linux*           libc=6
18 m68k-*-linux*           libc=6
19 alpha-*-linux*          libc=6
20
21 # libmachuser.so.1 corresponds to mach/*.defs as of Utah's UK22 release.
22 *-*-gnu*                libmachuser=1
23
24 # libhurduser.so.0.0 corresponds to hurd/*.defs as of 7 May 1996.
25 *-*-gnu*                libhurduser=0.0
26
27 # libc.so.0.0 is for the Hurd alpha release 0.0.
28 *-*-gnu*                libc=0.0
29
30 # The -ldl interface (see <dlfcn.h>) is the same on all platforms.
31 *-*-*                   libdl=2
32
33 # So far the -lutil interface is the same on all platforms, except for the
34 # `struct utmp' format, which depends on libc.
35 *-*-*                   libutil=1
36
37 # Version number 2 is used on other systems for the BIND 4.9.4 resolver
38 # interface.
39 *-*-*                   libresolv=2
40
41 # Interface revision of nss_* modules.  This must match NSS_SHLIB_REVISION
42 # in nss/nsswitch.h, which determines the library names used for service
43 # names given in /etc/nsswitch.conf.
44 *-*-*                   libnss_files=1
45 *-*-*                   libnss_dns=1
46 *-*-*                   libnss_db=1
47
48 # We use libdb.so.2 for the interface in version 1.85 of the Berkeley DB code.
49 *-*-*                   libdb=2