2013-10-26 141 views
2

我試圖用這個說明在OSX 10.8.5安裝的gnuplot: http://www.physics.buffalo.edu/phy410-505/tools/install/在山獅安裝gnuplot的失敗

所有步驟都很好,直到做出的gnuplot文件執行。我結束了:

Undefined symbols for architecture x86_64:

"_gdImagePng", referenced from:

_PNG_text in term.o 

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

make[3]: * [gnuplot] Error 1

make[2]: * [all-recursive] Error 1

make[1]: * [all-recursive] Error 1

make: * [all] Error 2

任何想法這裏有什麼不對?之後我嘗試用自制軟件安裝它,但最後得到了相同的結果。

非常感謝

回答

0

看來你沒有正確的庫來闡述png格式,你有沒有嘗試過:

brew install graphviz 
brew install gd 

,或者,如果他們已經安裝了,你可以試試:

brew unlink gd 
brew install -vd graphviz 
brew link gd