[root@web1 /usr/local/etc/apache22/src/modules/proxy]# apxs -i -a -c mod_proxy.c
/usr/local/build-1/libtool --silent --mode=compile cc -prefer-pic -O2 -fno-strict-aliasing -pipe -I/usr/local/include/apache22 -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -I/usr/local/include -c -o mod_proxy.lo mod_proxy.c && touch mod_proxy.slo
/usr/local/build-1/libtool --silent --mode=link cc -o mod_proxy.la -rpath /usr/local/libexec/apache22 -module -avoid-version mod_proxy.lo
/usr/local/share/apache22/build/instdso.sh SH_LIBTOOL='/usr/local/build-1/libtool' mod_proxy.la /usr/local/libexec/apache22
/usr/local/build-1/libtool --mode=install cp mod_proxy.la /usr/local/libexec/apache22/
cp .libs/mod_proxy.so /usr/local/libexec/apache22/mod_proxy.so
cp .libs/mod_proxy.lai /usr/local/libexec/apache22/mod_proxy.la
cp .libs/mod_proxy.a /usr/local/libexec/apache22/mod_proxy.a
chmod 644 /usr/local/libexec/apache22/mod_proxy.a
ranlib /usr/local/libexec/apache22/mod_proxy.a
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/libexec/apache22
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(8) manual pages.
----------------------------------------------------------------------
chmod 755 /usr/local/libexec/apache22/mod_proxy.so
[activating module `proxy' in /usr/local/etc/apache22/httpd.conf]
[root@web1 /usr/local/etc/apache22/src/modules/proxy]# apachectl -k restart
httpd: Syntax error on line 54 of /usr/local/etc/apache22/httpd.conf: Cannot load /usr/local/libexec/apache22/mod_proxy.so into server: /usr/local/libexec/apache22/mod_proxy.so: Undefined symbol "proxy_lb_workers"
[root@web1 /usr/local/etc/apache22/src/modules/proxy]#