1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

编译mcrypt出错(提示需要mhash)

Discussion in '应用交流' started by admin, 2013-04-12.

  1. admin

    admin 管理员 Staff Member

    Joined:
    2011-11-01
    Messages:
    3,671
    Likes Received:
    2,425
    Code:
    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
     
Loading...