代码: export LD_LIBRARY_PATH=/root/lemp/libmcrypt-2.5.8/lib:/root/lemp/mhash-0.9.9.9/lib export LDFLAGS="-L/root/lemp/mhash-0.9.9.9/lib/ -I/root/lemp/mhash-0.9.9.9/include/" export CFLAGS="-I/root/lemp/mhash-0.9.9.9/include/" ./configure --prefix=/root/lemp/mcrypt-2.6.8/ --with-libmcrypt-prefix=/root/lemp/libmcrypt-2.5.8