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/

Reply via email to