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-8.1 platform.

Package Information

libtirpc Dependencies


MIT Kerberos V5-1.15.1 for the GSSAPI

User Notes:

Installation of libtirpc



If updating this package, you will also need to update any existing version of rpcbind-0.2.4

Fix a build issue with GlibC-2.26:

sed '/stdlib.h/a#include <stdint.h>' -i src/xdr_sizeof.c

Install libtirpc by running the following commands:

./configure --prefix=/usr                                   \
            --sysconfdir=/etc                               \
            --disable-static                                \
            --disable-gssapi                                &&

This package does not come with a test suite.

Now, as the root user:

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

Command Explanations

--disable-static: This switch prevents installation of static versions of the libraries.

--disable-gssapi: This switch is needed if no GSSAPI is installed. Remove this switch if you have one installed (for example MIT Kerberos V5-1.15.1) and you wish to use it.

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


Installed Programs: None
Installed Libraries:
Installed Directory: /usr/include/tirpc

Short Descriptions

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

Last updated on 2017-08-18 14:42:43 -0500