套件安裝版本未更新 - Linux

Table of Contents



小弟是linux新手 有些問題想請問板上各位高手們

最近想在mac下編譯一支程式 此程式需要的套件有兩個

1. SDL 2. Freetype

但因為freetype在mac底下原本就有安裝 只是因為版本不合

他需要2.1.0以上之板本 我也下載了最新的版本安裝完畢

安裝在/usr/local 底下

但在欲編譯的程式目錄底下./configure時 仍出現


checking for FreeType -- version >= 2.1.0... no
configure: WARNING:

The FreeType test program failed to run. If your system uses
shared libraries and they are installed outside the normal
system library path, make sure the variable LD_LIBRARY_PATH
(or whatever is appropriate for your system) is correctly set.

configure: error: *** Freetype2 version 2.1.0 not found!

於是我 export LD_LIBRARY_PATH=/usr/local 再編譯 結果還是一樣


有人可以幫忙解決嗎? 感謝

--

All Comments