Dirk-Willem van Gulik <[EMAIL PROTECTED]> writes:

> > unless something has changed very recently, apxs with Apache 2.0 is
> > intended to be passed the name of the .la file, not the .so file
> >
> > in general, the module author will know where the .la file was built
> > by apxs -c but will not know the exact name of the .so file (which
> > could be .libs/mod_foo.so or .libs/libmod_foo.so or
> > .libs/libmod_foo.sl or who knows what else)
> 
> Ok - I get it - so that means that a sysadmin would need to keep/move both
> files around as he or she installs some extra binary modules on a
> machine.

or tar up the .la file and the .libs subdirectory?

or install it once and keep the resulting .so file?

> Is there not a way this could be reduced to just one file - perhaps even
> comping the .la information inside the mod_foo.so; and then have some
> query utility which at run time link in the SO and then extracts this
> info. All we seem to use is the dlname string ?

or modify apxs to reverse-engineer the libtool mysteries at compile
time instead of link time, so that the compile results in .so and
nothing else

-- 
Jeff Trawick | [EMAIL PROTECTED]
Born in Roswell... married an alien...

Reply via email to