You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-dev@httpd.apache.org by Franky Braem <f....@skynet.be> on 2006/10/11 22:44:56 UTC

Loading libapreq2.dll fails on windows

I always get the following error:

C:\development\xampp\apache\bin>apache
apache: Syntax error on line 143 of 
C:/development/xampp/apache/conf/httpd.conf:
  Cannot load bin/libapreq2.dll into server: The specified module could 
not be found.

It seems that the dll msvcr80.dll can't be found. I've tried to put this 
dll in the same folder, but it can't load it. How do I solve this?

Franky


Re: Loading libapreq2.dll fails on windows

Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
On Wed, 11 Oct 2006, Franky Braem wrote:

> I always get the following error:
>
> C:\development\xampp\apache\bin>apache
> apache: Syntax error on line 143 of 
> C:/development/xampp/apache/conf/httpd.conf:
> Cannot load bin/libapreq2.dll into server: The specified module could not be 
> found.
>
> It seems that the dll msvcr80.dll can't be found. I've tried to put this dll 
> in the same folder, but it can't load it. How do I solve this?

If you have msvcr80.dll, does adding a
   LoadFile "/Path/to/msvcr80.dll"
directive in httpd.conf, before you load librapreq2.dll,
help?

If not, it may be a compatibility issue with different
versions of VC++ being used to build the different
components involved with apreq. Did you build (or get
binaries of) apreq, Apache, and Perl (if you're using
the Perl modules for apreq) using the same version of
VC++?

-- 
best regards,
Randy Kobes


Re: Loading libapreq2.dll fails on windows

Posted by Franky Braem <f....@skynet.be>.
Franky Braem wrote:
> I always get the following error:
> 
> C:\development\xampp\apache\bin>apache
> apache: Syntax error on line 143 of 
> C:/development/xampp/apache/conf/httpd.conf:
>  Cannot load bin/libapreq2.dll into server: The specified module could 
> not be found.
> 
> It seems that the dll msvcr80.dll can't be found. I've tried to put this 
> dll in the same folder, but it can't load it. How do I solve this?
> 
> Franky
> 
> 
I solved this problem as follows:

Merged the manifest files with the dll and so:

mt.exe -manifest libapreq2.dll.manifest -outputresource:libapreq2.dll;#2
mt.exe -manifest mod_apreq2.so.manifest -outputresource:mod_apreq2.so;#2

And create Microsoft.VC80.CRT.manifest with following contents:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- Copyright © 1981-2001 Microsoft Corporation -->
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<noInheritable/>
<assemblyIdentity type="win32" name="Microsoft.VC80.CRT" 
version="8.0.50608.0" processorArchitecture="x86" 
publicKeyToken="1fc8b3b9a1e18e3b" />
<file name="msvcr80.dll"/>
</assembly>

And store a msvcr80.dll in the same directory as the dll and so.

Franky.


Re: Loading libapreq2.dll fails on windows

Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
Franky Braem wrote:
> 
> It seems that the dll msvcr80.dll can't be found. I've tried to put this
> dll in the same folder, but it can't load it. How do I solve this?

Grab the vc2005 c runtime redistribution and install it.

Note that it also installs WinSxS assembly logic.

The 'debug' versions of the same require yet another install.

The joy of VC 2005 (small wonder the httpd project didn't embrace it
with open arms ;-)