I was installing "octave" on FreeBSD 8.2-RELEASE #0 with [CMD=#]pkg_add -r octave[/CMD] and the installation stops failing to fetch pdflib package stating that package file related to pdflib does not exist.
After lot of search on the net and FreeBSD form, I gathered that I had no choice but to get PDFLib source from the folowing site. http://www.pdflib.com/binaries/PDFlib/705/PDFlib-Lite-7.0.5.tar.gz. This lite version is free for non-commercial use.
Subsequently it was relatively straightforward to compile the source tar ball and install the libraries. The package installs [FILE]/usr/local/lib/libpdf.so.6 [/FILE] shared library along with other static versions.
After this installation subsequent [CMD=#]pkg_add -r octave[/CMD] completed successfully without the need for pdflib-7.0.4 dependency.
Now I have a working GNU Octave, version 3.2.4 with one niggly problem. Any plot command
from octave was failing (gracefully:) telling me that it was looking for [FILE]libpdf.so.8[/FILE].
I made a symbolic link with [CMD=#]ln -s /usr/local/lib/libpdf.so.6 /usr/local/lib/libpdf.so.6[/CMD]. And now I have a working "octave" application. I know this is a kludge.
Perhaps some one can benefit from my work around and others can suggest a more appropriate method.