Oracle/DB2/Postgresql/Mysql/Hadoop/Greenplum/Postgres-xl/Mongodb
分类: LINUX
2012-09-17 16:59:21
需要修改一个文件
vi /usr/local/apache2/build/libtool
build_libtool_libs=no
build_libtool_libs=yes
fast_install=neel***
fast_install=yes
dlopen_support=unknown
dlopen_support=yes
dlopen_self=unknown
dlopen_self=yes
dlopen_self_static=unknown
dlopen_self_static=yes
host_alias=
host_alias=i686-pc-linux-gnu
在esc模式下输入:wq保存退出
保存后重新编译.c文件即可成功编译成so文件
cd /usr/local/src/httpd-2.2.17/modules/proxy
/usr/local/apache2/bin/apxs -i -a -c mod_proxy.c proxy_util.c
/usr/local/apache2/bin/apxs -i -a -c mod_proxy_httpd.c
/usr/local/apache2/bin/apxs -i -a -c mod_proxy_ajp.c ajp*.c
/usr/local/apache2/bin/apxs -i -a -c mod_proxy_balancer.c