Skip to content

Instantly share code, notes, and snippets.

@narfdotpl
Created March 8, 2011 17:26
Show Gist options
  • Save narfdotpl/860606 to your computer and use it in GitHub Desktop.
Save narfdotpl/860606 to your computer and use it in GitHub Desktop.
fix plotting in Octave.app

To fix plotting in Octave.app in latest Snow Leopard (10.6.6 at the moment of writing) change /Applications/Gnuplot.app/Contents/Resources/bin/gnuplot as follows:

@@ -31,7 +31,7 @@ ROOT=`(cd "${BASE}" 2>/dev/null && pwd)`
 # startup the Gnuplot program.
 GNUPLOT_HOME="${ROOT}"
 PATH="${ROOT}/bin:${PATH}"
-DYLD_LIBRARY_PATH="${ROOT}/lib:${DYLD_LIBRARY_PATH}"
+DYLD_LIBRARY_PATH="${ROOT}/lib"
 DYLD_FRAMEWORK_PATH="${ROOT}/lib:${DYLD_FRAMEWORK_PATH}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment