wohali commented on issue #3309:
URL: https://github.com/apache/couchdb/issues/3309#issuecomment-758095090


   @magel20 Unfortunately, I can't confirm this in our development environment.
   
   That `PATH` environment variable change explicitly puts the CouchDB binary 
directory ahead of the `C:\Windows\System32` directory. The Windows dynamic 
linker searches PATH in order to find the necessary DLLs it needs. It can't run 
with only `%COUCHDB_BIN_DIR%, it needs the system's DLLs as well to run.
   
   What happens if you open an Administrator Command Prompt and run the 
`couchdb.cmd` rather than using the automatic Windows Service? Does the problem 
still occur?
   
   Do you know which program placed those DLLs in your `%SYSTEMROOT%` 
directory? Arguably, *that's* the bug here, because with those DLLs in there, 
if the `%PATH%` tweak doesn't prevent those from being accessed, there's little 
we can do here to fix it. Can you move those DLLs to the directory of the 
program that actually needs them?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to