- 论坛徽章:
- 0
|
/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文件?怎么办呢? |
|