httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Lewis <...@joe-lewis.com>
Subject Re: centOS apache module Vs. ubuntu apache module
Date Fri, 19 Aug 2011 16:29:24 GMT
On Fri, 2011-08-19 at 17:17 +0800, david jone wrote:

> First, very thanks for members of the modules-dev's mailist for detailed
> reply.
> Maybe I should locate the problem within more smaller within more limited
> range.


Note also, that a module compiled in a 64 bit environment will not work
in a 32 bit environment.

Usually, if you want a CentOS module, compile it on CentOS.  The moment
you start playing with the same binaries on different distributions, you
also encounter library versions (as noted by Ray).  The only ways around
this are not suggested (e.g. static linking, yada, yada, yada).

The beautiful thing about Apache 2.2.x or 2.0.x is that modules compiled
properly should not have to be re-complied for a minor version change
(e.g. 2.0.63 to 2.0.64).  However, that still leaves other packages that
may contribute to version mismatches.

Again, remember that when the ELF format is wrong, the system loading
the dynamic library can't read the library (e.g. your .so is corrupt or
wrong bit-ness).

Joe Lewis
-- 
http://www.silverhawk.net/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message