Dear Carsten Thank you for your reply.
On Wed, Feb 9, 2011 at 8:37 AM, Carsten Wiedmann <[email protected]> wrote: > Am 09.02.2011 08:16, schrieb Zeno Davatz: >>>>>>>> >>>>>>>> mod_ruby.so could not be loaded. If I open mod_ruby.so with >>>>>>>> depends.exe (Dependencywalker.com) I get no errors. >> >> On Tue, Feb 8, 2011 at 10:42 PM, Andrew Oliver<[email protected]> wrote: >>> >>> Another possibility is that one of your libraries can't be accessed by >>> LocalSystem (which services run as) but can as whatever user you're >>> logging in as. You could try changing the service descriptor to run >>> Apache as that user. >> >> I am running everything as normal User zdavatz with Admin Privileges. >> mod_ruby.so was compiled by the same User. > > Is mod_ruby using a dll which is in your user $PATH but not in the system > $PATH? Yes. Apache is in my Path but not in my System Path. Does Apache and Ruby have to be in my System Path as well for Apache to work properly. Sorry for this dumb question but I am not all to familiar with Windows. This is my Path: C:\tools;C:\Program Files\PostgreSQL\8.4\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Ruby-1.8.6-oniguruma\bin;C:\Program Files\7-Zip;C:\MinGW\bin;C:\Program Files\Git\bin;C:\ImageMagick-6.5.6-Q8;C:\Apache2.2\bin;C:\MinGW\msys\1.0\bin;C:\Python25 This is my System Path: C:\Perl\site\bin;C:\Perl\bin;C:\ImageMagick-6.6.7-Q16;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Subversion\bin All the DLLs I compiled against are in the C:\Apache2.2\bin This is the Makefile I used: https://gist.github.com/814328 and it compiled fine. Also the module loads fine when starting from command line: https://gist.github.com/816510 I will now put C:\Apache2.2\bin into my System Path as well. Question: What does Apache use the SystemPath for? Does Apache_MSI-Installer for Windows install some Apache DLL into the System Path during the Setup? I will Google this now. Best Zeno
