64位Linux下安裝軟件注意事項

執行到./configure --enable-shared一步時提示:
checking host system type... Invalid configuration `x86_64-unknown-linux-gnu ': machine `x86_64-unknown ' not recognized

解決辦法:
cp /usr/share/libtool/config.guess .  (覆蓋到相關軟件自帶的config.guess,t1lib在解壓包的ac-tools下)
cp /usr/share/libtool/config.sub .     (覆蓋到相關軟件自帶的config.sub)
./configure --enable-shared --enable-static
make libdir=/usr/lib64
make libdir=/usr/lib64 install
使用64位函數庫編譯.

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章