Octave中調用hist出現broken pipe some output may be lost octave的解決(Mac)

參考:http://octave.1599824.n4.nabble.com/Mac-OS-X-Mountain-Lion-Octave-can-not-execute-sombrero-td4643502.htmlhtml

Octave版本:3.4.0app

Mac版本:10.8.5spa

前提:裝好了X11code

It works perfectly on 10.8 and the solution is pretty simple. 
The problem is in gnuplot. 
Instead of using bundled libfreetype, it should use the one that comes with your X11: htm

cd /Applications/Gnuplot.app/Contents/Resources/lib
mv libfreetype.6.dylib libfreetype.6.dylib.bak
ln -s /usr/X11/lib/libfreetype.6.dylib .
相關文章
相關標籤/搜索