httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Lewis <>
Subject Re: Specifying a different target directory for APXS
Date Fri, 14 Dec 2007 14:27:16 GMT
Subra A Narayanan wrote:
> Hello folks,
> Has anyone come across a similar situation before? Can a target folder be
> specified or is that not possible?
> Any help is greatly appreciated.
> Subra

The .libs directory is specified by the libtool command, not by the apxs
tool.  However, this is probably not what you really want.  Perhaps
running an apxs -i command to INSTALL the module.

Your apxs -c command is merely compiling the module.  The apxs -i
command installs the module into the appropriate apache directory
(configured when you compiled apache the first time [if RPM, when the
RPM was built]).

If you really must change the directory, then you can manually edit the
file specified by the `apr-config --apr-libtool` command, and change the
objdir parameter.  But, don't ask us for any help if this causes your
system to no longer compile apache or apache modules (or even run apache
or compile other processes that require the libtool command, or things
to blow up).  No one in their right mind is going to touch that.

It is easy enough to copy the .so file to where you need it once (unless
you are installing it, then it's easy enough to just use a -i parameter
to apxs to install the module).

Good luck,
Joseph Lewis <>
"Divide the fire, and you will sooner put it out." - Publius Syrus

View raw message