免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1460 | 回复: 0
打印 上一主题 下一主题

[系统管理] XAMPP安装 mod_bw模块 出现下面提示 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-12-27 16:43 |只看该作者 |倒序浏览
本帖最后由 8小时 于 2012-12-27 22:36 编辑

[root@bogon mod_bw]# /opt/lampp/bin/apxs -i -a -c mod_bw.c
/opt/lampp/build/libtool --silent --mode=compile gcc -prefer-pic -O3 -Wl,--rpath -Wl,/opt/lampp/lib -Wl,--rpath -Wl,/opt/lampp/lib/mysql -I/opt/lampp/include -L/opt/lampp/lib  -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I/opt/lampp/include  -I/opt/lampp/include/apr-1   -I/opt/lampp/include/apr-1 -I/opt/lampp/include  -c -o mod_bw.lo mod_bw.c && touch mod_bw.slo
gcc: --rpath: linker input file unused because linking not done
gcc: /opt/lampp/lib: linker input file unused because linking not done
gcc: --rpath: linker input file unused because linking not done
gcc: /opt/lampp/lib/mysql: linker input file unused because linking not done
/opt/lampp/build/libtool --silent --mode=link gcc -R/opt/lampp/lib   -o mod_bw.la  -rpath /opt/lampp/modules -module -avoid-version    mod_bw.lo
/opt/lampp/build/instdso.sh SH_LIBTOOL='/opt/lampp/build/libtool' mod_bw.la /opt/lampp/modules
/opt/lampp/build/libtool --mode=install cp mod_bw.la /opt/lampp/modules/
cp .libs/mod_bw.so /opt/lampp/modules/mod_bw.so
cp .libs/mod_bw.lai /opt/lampp/modules/mod_bw.la
cp .libs/mod_bw.a /opt/lampp/modules/mod_bw.a
chmod 644 /opt/lampp/modules/mod_bw.a
ranlib /opt/lampp/modules/mod_bw.a
PATH="$PATH:/sbin" ldconfig -n /opt/lampp/modules
----------------------------------------------------------------------
Libraries have been installed in:
   /opt/lampp/modules

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so( manual pages.
----------------------------------------------------------------------
chmod 755 /opt/lampp/modules/mod_bw.so
[activating module `bw' in /opt/lampp/etc/httpd.conf]
[root@bogon mod_bw]# /opt/lampp/bin/apachectl -t
httpd: Syntax error on line 163 of /opt/lampp/etc/httpd.conf: Cannot load modules/mod_bw.so into server: /opt/lampp/modules/mod_bw.so: undefined symbol: apr_atomic_cas
有人遇到过么
APACHE版本为 2.2.21 XAMPP集成环境
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP