jubincn

导航

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.html

Octave版本:3.4.0

Mac版本:10.8.5

前提:装好了X11

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: 

cd /Applications/Gnuplot.app/Contents/Resources/lib
mv libfreetype.6.dylib libfreetype.6.dylib.bak
ln -s /usr/X11/lib/libfreetype.6.dylib .

 

posted on 2014-01-21 20:56  jubincn  阅读(505)  评论(0编辑  收藏  举报