免费注册 查看新帖 |

Chinaunix

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

[Web] APXS的疑问 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-04-16 21:52 |只看该作者 |倒序浏览
/usr/local/httpd-2.0.44/modules/aaa>; apxs -c -i -a mod_access.c
/usr/local/apache/build/libtool --silent --mode=compile gcc -prefer-pic  -DAP_HAVE_DESIGNATED_INITIALIZER -D_REENTRANT -D_THREAD_SAFE -g -O2 -I/usr/local/apache/include  -c -o mod_access.lo mod_access.c && touch mod_access.slo
/usr/local/apache/build/libtool --silent --mode=link gcc -o mod_access.la  -rpath /usr/local/apache/modules -module -avoid-version  mod_access.lo
/usr/local/apache/build/instdso.sh SH_LIBTOOL='/usr/local/apache/build/libtool' mod_access.la /usr/local/apache/modules
/usr/local/apache/build/libtool --mode=install cp mod_access.la /usr/local/apache/modules/
cp .libs/mod_access.lai /usr/local/apache/modules/mod_access.la
cp .libs/mod_access.a /usr/local/apache/modules/mod_access.a
ranlib /usr/local/apache/modules/mod_access.a
chmod 644 /usr/local/apache/modules/mod_access.a
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/apache/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

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so( manual pages.
----------------------------------------------------------------------
Warning!  dlname not found in /usr/local/apache/modules/mod_access.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache/modules/mod_access.so
chmod: /usr/local/apache/modules/mod_access.so: No such file or directory
apxs:Error: Command failed with rc=65536


为什么它编译生成.la 和. a文件而不是.so文件?怎么办呢?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP