2 Replies Latest reply on Feb 5, 2008 10:04 AM by txtoth

    mod_flex.so on FC8 x86_64, Apache 1.3.39 problem

    txtoth
      Has anyone else experienced this problem?

      Syntax error on line 462 of /etc/opt/Apache/oed.conf:
      API module structure `flex_module' in file /usr/share/flex3sdk/modules/apache/linux/1x/mod_flex.so is garbled - perhaps this is not an Apache module DSO?

      I'm running this on Fedora 8 x86_64 but Apache is built with the -m32 option producing a 32 bit executable.
        • 1. Re: mod_flex.so on FC8 x86_64, Apache 1.3.39 problem
          txtoth Level 1
          Here is the code in mod_so.c that is failing. Does the mod_flex module structure contain MODULE_MAGIC_COOKIE in its first field?

          /*
          * Make sure the found module structure is really a module structure
          *
          */
          if (modp->magic != MODULE_MAGIC_COOKIE) {
          return ap_pstrcat(cmd->pool, "API module structure `", modname,
          "' in file ", szModuleFile, " is garbled -"
          " perhaps this is not an Apache module DSO?", NULL);
          }

          This is the comment from the cvs check in of this code.

          "Added MODULE_MAGIC_COOKIE as the first field in a module structure to
          allow us to distinguish between a garbled DSO (or even a file which isn't
          an Apache module DSO at all) and a DSO which doesn't match the current
          Apache API."
          • 2. Re: mod_flex.so on FC8 x86_64, Apache 1.3.39 problem
            txtoth Level 1
            My Apache was not built with mod_ssl and this caused the failure. The version without mod_ssl doesn't support the extended API which the mod_flex was built with therefore the mismatch in magic cookies.