Installing GNU Octave, version 3.2.4

Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Installing GNU Octave, version 3.2.4

Postby ravi » 21 Jul 2011, 01:24

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.
User avatar
ravi
Junior Member
 
Posts: 13
Joined: 24 Jul 2009, 01:42

Return to Installation and Maintenance of FreeBSD Ports or Packages

Who is online

Users browsing this forum: No registered users and 2 guests