Here are the steps that I did to build the rpm:

1. installed Red Hat 5.7 / 64 bit server on our VMWARE test (IP / name rhel5-mw-64)
2. installed the follwing rpm out of the 5.7 image:
3. download the tool "checkinstall" .. this is a creat tool to build rpm's
--> saved to /root/checkinstall-1.6.2.tar.gz
--> extract: tar -xvzf /root/checkinstall-1.6.2.tar.gz
--> cd /root/checkinstall-1.6.2
--> make
--> make install

--> command "checkinstall" is now available
4. download the perl module -> source files from
--> saved to /root/TacacsPlus-0.16.tar.gz
--> extract: tar -xvzf /root/TacacsPlus-0.16.tar.gz
--> cd /root/TacacsPlus-0.16
--> generate the make file: perl Makefile.PL
--> use now the command "checkinstall"
check install parameters:
- Should I create a default set of package docs? [y]: n
- Slackware [S], RPM [R] or Debian [D]? R
- description. TacacsPlus Perl Module

--> done:
Done. The new package has been saved to
You can install it in your system anytime using:

5. problem / warning when running checkinstall: ERROR: object /usr/local/lib64/ from LD_PRELOAD cannot be preloaded: ignored.
Solution: The problem occurs because the loader cant find the shared object file. The solution is very simple. Assuming that the is located in /usr/local/lib, just type the following commands:
echo "/usr/local/lib64" >/etc/
ln -s /usr/local/lib/ /usr/local/lib64/

computer2know :: thank you for your visit :: have a nice day :: © 2018