libtirpc-0.2.2

Introduction to libtirpc

The libtirpc package contains libraries that support programs that use the Remote Procedure Call (RPC) API. It replaces the RPC, but not the NIS library entries that used to be in glibc.

This package is known to build and work properly using an LFS-7.0 platform.

Package Information

Additional Downloads

libtirpc Dependencies

Required

pkg-config-0.26

Optional

libgssapi

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libtirpc

Installation of libtirpc

Glibc-2.14 and later do not install NIS and RPC related headers by default. If needed, install them here:

if [ ! -r /usr/include/rpc/rpc.h ]; then
   tar -xvf ../rpcnis-headers.tar.bz2 -C /usr/include
fi

Install libtirpc by running the following commands:

patch -Np1 -i ../libtirpc-0.2.2-remove-nis-2.patch &&
autoreconf &&
./configure --prefix=/usr CFLAGS="-fPIC" &&
make

This package does not come with a test suite.

Now, as the root user:

make install &&
mv -v /usr/lib/libtirpc.so.* /lib &&
ln -sfv ../../lib/libtirpc.so.1.0.10 /usr/lib/libtirpc.so

Command Explanations

mv -v /usr/lib/libtirpc.so.* ...: Move shared libraries into /lib so they are available before /usr is mounted.

Contents

Installed Libraries: libtirpc.{so,a}
Installed Directories: /etc/netconfig and /usr/include/libtirpc

Short Descriptions

libtirpc.{so,a}

provides the Remote Procedure Call (RPC) API functions required by other programs.

Last updated on 2012-05-08 01:40:42 +0000