In FreeBSD you shoud use ports to install CTPP2 library:
cd /usr/ports/textproc/ctpp2 make install clean
pkg_add -r ctpp2