[a15d5e1] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[00d1042] | 7 | <!ENTITY libnsl-download-http "https://github.com/thkukuk/libnsl/archive/&libnsl-version;/libnsl-&libnsl-version;.tar.gz">
|
---|
[a15d5e1] | 8 | <!ENTITY libnsl-download-ftp " ">
|
---|
| 9 | <!ENTITY libnsl-md5sum "af13f06000c691bc19dfc82822ab5374">
|
---|
| 10 | <!ENTITY libnsl-size "212 KB">
|
---|
| 11 | <!ENTITY libnsl-buildsize "8.1 MB">
|
---|
| 12 | <!ENTITY libnsl-time "0.3 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="libnsl" xreflabel="libnsl-&libnsl-version;">
|
---|
| 16 | <?dbhtml filename="libnsl.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>libnsl-&libnsl-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="libnsl">
|
---|
| 26 | <primary sortas="a-libnsl">libnsl</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to libnsl</title>
|
---|
| 31 |
|
---|
| 32 | <para>
|
---|
| 33 | The <application>libnsl</application> package contains the public client
|
---|
| 34 | interface for NIS(YP) and NIS+. It replaces the NIS library that used to
|
---|
| 35 | be in GlibC.
|
---|
| 36 | </para>
|
---|
| 37 |
|
---|
| 38 | &lfs81_checked;
|
---|
| 39 |
|
---|
| 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing='compact'>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url="&libnsl-download-http;"/>
|
---|
| 45 | </para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&libnsl-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>
|
---|
| 54 | Download MD5 sum: &libnsl-md5sum;
|
---|
| 55 | </para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>
|
---|
| 59 | Download size: &libnsl-size;
|
---|
| 60 | </para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
| 64 | Estimated disk space required: &libnsl-buildsize;
|
---|
| 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
| 68 | <para>
|
---|
| 69 | Estimated build time: &libnsl-time;
|
---|
| 70 | </para>
|
---|
| 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect3">libnsl Dependencies</bridgehead>
|
---|
| 75 |
|
---|
| 76 | <bridgehead renderas="sect4">Requried</bridgehead>
|
---|
| 77 | <para role="required">
|
---|
| 78 | <xref linkend="rpcsvc-proto"/> and <xref linkend="libtirpc"/>
|
---|
| 79 | </para>
|
---|
| 80 |
|
---|
| 81 | <para condition="html" role="usernotes">User Notes:
|
---|
| 82 | <ulink url="&blfs-wiki;/libnsl"/>
|
---|
| 83 | </para>
|
---|
| 84 | </sect2>
|
---|
| 85 |
|
---|
| 86 | <sect2 role="installation">
|
---|
| 87 | <title>Installation of libnsl</title>
|
---|
| 88 |
|
---|
| 89 | <para>
|
---|
| 90 | Install <application>libnsl</application> by running the following
|
---|
| 91 | commands:
|
---|
| 92 | </para>
|
---|
| 93 |
|
---|
| 94 | <screen><userinput>autoreconf -fi &&
|
---|
| 95 | ./configure --sysconfdir=/etc &&
|
---|
| 96 | make</userinput></screen>
|
---|
| 97 |
|
---|
| 98 | <para>
|
---|
| 99 | This package does not come with a test suite.
|
---|
| 100 | </para>
|
---|
| 101 |
|
---|
| 102 | <para>
|
---|
| 103 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 104 | </para>
|
---|
| 105 |
|
---|
| 106 | <screen role="root"><userinput>make install &&
|
---|
| 107 | mv /usr/lib/libnsl.so.2* /lib &&
|
---|
| 108 | ln -sfv ../../lib/libnsl.so.2.0.0 /usr/lib/libnsl.so</userinput></screen>
|
---|
| 109 |
|
---|
| 110 | </sect2>
|
---|
| 111 |
|
---|
| 112 | <sect2 role="commands">
|
---|
| 113 | <title>Command Explanations</title>
|
---|
| 114 |
|
---|
| 115 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 116 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 117 |
|
---|
| 118 | <para>
|
---|
| 119 | <command>mv -v /usr/lib/libnsl.so.2* ...</command>: Move shared
|
---|
| 120 | libraries into /lib so they are available before /usr is mounted.
|
---|
| 121 | </para>
|
---|
| 122 |
|
---|
| 123 | </sect2>
|
---|
| 124 |
|
---|
| 125 | <sect2 role="content">
|
---|
| 126 | <title>Contents</title>
|
---|
| 127 |
|
---|
| 128 | <segmentedlist>
|
---|
| 129 | <segtitle>Installed Programs</segtitle>
|
---|
| 130 | <segtitle>Installed Libraries</segtitle>
|
---|
| 131 | <segtitle>Installed Directories</segtitle>
|
---|
| 132 |
|
---|
| 133 | <seglistitem>
|
---|
| 134 | <seg>
|
---|
| 135 | None
|
---|
| 136 | </seg>
|
---|
| 137 | <seg>
|
---|
| 138 | libnsl.{a,so}
|
---|
| 139 | </seg>
|
---|
| 140 | <seg>
|
---|
| 141 | None
|
---|
| 142 | </seg>
|
---|
| 143 | </seglistitem>
|
---|
| 144 | </segmentedlist>
|
---|
| 145 |
|
---|
| 146 | <variablelist>
|
---|
| 147 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 148 | <?dbfo list-presentation="list"?>
|
---|
| 149 | <?dbhtml list-presentation="table"?>
|
---|
| 150 |
|
---|
| 151 | <varlistentry id="libnsl-lib">
|
---|
| 152 | <term><filename class="libraryfile">libnsl.{a,so}</filename></term>
|
---|
| 153 | <listitem>
|
---|
| 154 | <para>
|
---|
| 155 | provides the NIS (YP) API functions required by other programs.
|
---|
| 156 | </para>
|
---|
| 157 | <indexterm zone="libnsl libnsl-lib">
|
---|
| 158 | <primary sortas="c-libnsl">libnsl.so</primary>
|
---|
| 159 | </indexterm>
|
---|
| 160 | </listitem>
|
---|
| 161 | </varlistentry>
|
---|
| 162 |
|
---|
| 163 | </variablelist>
|
---|
| 164 |
|
---|
| 165 | </sect2>
|
---|
| 166 |
|
---|
| 167 | </sect1>
|
---|