首页 > 代码库 > 64位Linux下安装软件注意事项

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位函数库编译.

本文出自 “九零后的IT人” 博客,请务必保留此出处http://liudabo.blog.51cto.com/1536974/1439380