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 .
相关文章
相关标签/搜索