mod_mgmapagent.so (built from svn) will not load in Apache

Description

When attempting to run Apache using the web extensions built from svn trunk, it will error out with the following message:

httpd.exe: Syntax error on line 195 of C:/Program Files/OSGeo/MapGuide Web/Apache2/conf/httpd.conf: Cannot load C:/Program Files/OSGeo/MapGuide Web/Apache2/modules/mod_mgmapagent.so into server: This application has failed to start because the application configuration is incorrect. Reinstalling this application may fix this problem.

The message sounds remotely familiar to something that the Visual C++ CRT would throw out. I did a depends.exe on mod_mgmapagent.so and I have found references to Visual C++ 2005 CRT dlls (MSVCP80.dll and MSVCR80.dll). The code-base has moved to VS 2008 so maybe these references should not be there?

I am blocker-izing this issue because this error prevents us from having a functional Apache configuration for the community-based installer.

Change History (5)

Hi Jackie,
If you build the mod_mgmapagent.so using VS 2008 it will reference the correct DLLs. The project to build it is the ApacheAgent? project in the WebTier? solution.
I'm pretty sure of this because the one that I have built only references msvcp90.dll and msvcr90.dll.