|
From: | Bobi Pu |
Subject: | Mac OS X Mountain Lion, Octave can not execute sombrero() |
Date: | Thu, 30 Aug 2012 00:33:10 -0700 |
Hi, I am mac user, and a USC graduate. I am currently taking a Machine Learning course, and this course recommends using Octave to solve problems. I followed the instruction(http://wiki.octave.org/Installing_MacOS_X_Bundle) to install Octave on my macbook(10.8.1) . But unfortunately, when I test sombrero () function, the terminal shows: octave-3.4.0:1> sombrero dyld: Library not loaded: /opt/X11/lib/libfreetype.6.dylib Referenced from: /usr/X11/lib/libfontconfig.1.dylib Reason: Incompatible library version: libfontconfig.1.dylib requires version 15.0.0 or later, but libfreetype.6.dylib provides version 13.0.0 dyld: Library not loaded: /opt/X11/lib/libfreetype.6.dylib Referenced from: /usr/X11/lib/libfontconfig.1.dylib Reason: Incompatible library version: libfontconfig.1.dylib requires version 15.0.0 or later, but libfreetype.6.dylib provides version 13.0.0 /Applications/Gnuplot.app/Contents/Resources/bin/gnuplot: line 71: 4296 Trace/BPT trap: 5 GNUTERM="${GNUTERM}" GNUPLOT_HOME="${GNUPLOT_HOME}" PATH="${PATH}" DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH}" HOME="${HOME}" GNUHELP="${GNUHELP}" DYLD_FRAMEWORK_PATH="${DYLD_FRAMEWORK_PATH}" GNUPLOT_PS_DIR="${GNUPLOT_PS_DIR}" DISPLAY="${DISPLAY}" GNUPLOT_DRIVER_DIR="${GNUPLOT_DRIVER_DIR}" "${ROOT}/bin/gnuplot-4.4.3" "$@" /Applications/Gnuplot.app/Contents/Resources/bin/gnuplot: line 71: 4301 Trace/BPT trap: 5 GNUTERM="${GNUTERM}" GNUPLOT_HOME="${GNUPLOT_HOME}" PATH="${PATH}" DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH}" HOME="${HOME}" GNUHELP="${GNUHELP}" DYLD_FRAMEWORK_PATH="${DYLD_FRAMEWORK_PATH}" GNUPLOT_PS_DIR="${GNUPLOT_PS_DIR}" DISPLAY="${DISPLAY}" GNUPLOT_DRIVER_DIR="${GNUPLOT_DRIVER_DIR}" "${ROOT}/bin/gnuplot-4.4.3" "$@" warning: broken pipe -- some output may be lost warning: broken pipe -- some output may be lost warning: broken pipe -- some output may be lost warning: broken pipe -- some output may be lost warning: broken pipe -- some output may be lost warning: broken pipe -- some output may be lost warning: broken pipe -- some output may be lost and can not draw the graph. By the way, my mac's PATH does include"/usr/bin" and "/usr/local/bin". If I add "export GNUTERM=x11" in ~./bash_profile(I've already installed XQuartz), the result is the same: Octave still failed to draw that graph and showed "broken pipe" warning. So, can you help to fix this problem? Thank you very much~ |
[Prev in Thread] | Current Thread | [Next in Thread] |