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.3 platform.
Download MD5 sum: b70e6c12a369a91e69fcc3b9feb23d61
Download size: 456 KB
Estimated disk space required: 7.5 MB
Estimated build time: 0.2 SBU
Required header tar file (Add rpc/nis headers): ftp://anduin.linuxfromscratch.org/other/rpcnis-headers.tar.bz2
Required Patch (Remove nis dependencies): http://www.linuxfromscratch.org/patches/blfs/svn/libtirpc-0.2.3-remove_nis-1.patch
In LFS-7.1 the NIS and RPC related headers were not installed by
default. If that applies to your system, install them by running
the following command as the
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.3-remove_nis-1.patch && sed "s@AM_CONFIG_HEADER@AC_CONFIG_HEADERS@g" -i configure.ac && autoreconf -fi && ./configure --prefix=/usr --sysconfdir=/etc CFLAGS="-fPIC" && make
This package does not come with a test suite.
Now, as the
make install && mv -v /usr/lib/libtirpc.so.* /lib && ln -sfv ../../lib/libtirpc.so.1.0.10 /usr/lib/libtirpc.so
sed "s@AM_CONFIG_HEADER@AC_CONFIG_HEADERS@g" -i configure.ac: This sed fixes some issues with Automake 1.13 and later.
mv -v /usr/lib/libtirpc.so.* ...: Move shared libraries into /lib so they are available before /usr is mounted.
Last updated on 2013-03-13 17:58:54 +0000