Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3017631
  • 博文数量: 535
  • 博客积分: 15788
  • 博客等级: 上将
  • 技术积分: 6507
  • 用 户 组: 普通用户
  • 注册时间: 2007-03-07 09:11
文章分类

全部博文(535)

文章存档

2016年(1)

2015年(1)

2014年(10)

2013年(26)

2012年(43)

2011年(86)

2010年(76)

2009年(136)

2008年(97)

2007年(59)

分类: LINUX

2008-12-26 16:51:54




libmcrypt-2.5.7.tar.gz
./configure --prefix=/usr/local/libmcrypt
make
make install

vi /etc/ld.so.conf
/usr/local/libmcrypt/lib

#ldconfig




mash
./configure 
make 
make install


mcrypt
./configure LD_LIBRARY_PATH=/usr/local/lib  --prefix=/usr/local/mcrypt --with-libmcrypt-prefix=/usr/local/libmcrypt
make 
make install

error:
./mcrypt 
./mcrypt: error while loading shared libraries: libmhash.so.2: cannot open shared object file: No such file or directory
执行
ln -s /usr/local/lib/libmhash.so.2 /usr/lib/libmhash.so.2





./configure --prefix=/usr/local/php \
--with-config-file-path=/usr/local/php/conf \
--with-apxs2=/usr/local/apache/bin/apxs \
--with-mysql=/usr/local/mysql \
--with-jpeg-dir=/usr/local/libjpeg \
--enable-fastcgi \
--enable-fpm \
--enable-force-cgi-redirect \
--with-gd \
--with-png-dir \
--enable-gd-native-ttf \
--with-freetype-dir=/usr/local/freetype \
--with-libxml-dir \
--with-curl \
--with-curlwrappers \
--with-zlib \
--with-pear \
--enable-mbstring \
--enable-exif \
--disable-debug \
--disable-rpath \
--without-pdo-sqlite \
--without-sqlite \
--without-iconv \
--with-mcrypt=/usr/local/libmcrypt \
--with-mhash=/usr/local/mhash




http://www.xxlinux.com/linux/article/development/database/20070403/8062.html

阅读(2811) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~