yum install gcc gcc-c++ -y

以下示例代码为自定义路径~用默认的不需要设置额外参数:

mkdir -p /opt/libmcrypt
wget https://jaist.dl.sourceforge.net/project/mcrypt/Libmcrypt/2.5.8/libmcrypt-2.5.8.tar.gz
tar xf libmcrypt-2.5.8.tar.gz
cd libmcrypt-2.5.8
./configure --prefix=/opt/libmcrypt
make && make install

Related Posts: libmcrypt编译安装方法 :

avatar