tarzxvflibmcrypt-2.5.8.tar.gz
cdlibmcrypt-2.5.8/
./configure--prefix=/Data/apps/libs
make
makeinstall
cdlibltdl/
./configure--prefix=/Data/apps/libs--enable-ltdl-install
make
makeinstall
cd../../
tarzxvfmhash-0.9.9.9.tar.gz
cdmhash-0.9.9.9/
./configure--prefix=/Data/apps/libs
make
makeinstall
cd../
vi/etc/ld.so.conf
添加:
/Data/apps/libs/lib
然后:
ldconfig
tarzxvfmcrypt-2.6.8.tar.gz
cdmcrypt-2.6.8/
exportLDFLAGS="-L/Data/apps/libs/lib-L/usr/lib"
exportCFLAGS="-I/Data/apps/libs/include-I/usr/include"
touchmalloc.h
./configure--prefix=/Data/apps/libs--with-libmcrypt-prefix=/Data/apps/libs
make
makeinstall
cd../