NOTES FOR LION USERS
1 - The Gnuplot app and MacOS 10.7.3
Running the gnuplot app present in the Extra's folder results in the error below.
dyld: Library not loaded: /usr/X11/lib/libfreetype.6.dylib
Referenced from: /usr/X11/lib/libfontconfig.1.dylib
Reason: Incompatible library version: libfontconfig.1.dylib requires
version 14.0.0 or later, but libfreetype.6.dylib provides version 13.0.0
The problem has been described in some detail at the link below.
Two work arounds are available.
1.1) Repair the Gnuplot-4.4.3 included with Octave-3.4.0 DMG
Open /Applications/Gnuplot.app/Contents/Resources/bin/gnuplot in a text
editor. Use the editor search-and-replace feature to replace
"DYLD_LIBRARY_PATH" with "DYLD_FALLBACK_LIBRARY_PATH". There are four
instances that need to be replaced.
1.2) Use Gnuplot-4.2.6 that is bundled with Maxima DMG. Link below.