magel20 commented on issue #3309: URL: https://github.com/apache/couchdb/issues/3309#issuecomment-760085194
I tried the `couchdb.cmd` in an Administrator Command Prompt as well as the Windows Service. Problem occurred both times. So the `set PATH=...` command inside the `couchdb.cmd` sets the CouchDB binary directory ahead of the others. Should I be able to see that change in the `Environment Variables` UI in Windows 10? Because there I do not see the `%COUCHDB_BIN_DIR%` in the PATH at all or is this set done by the script only temporary? If I understand it correctly the problem I encounter should not occur because the `couchdb.cmd` first looks inside the CouchDB binary directory finds the DLLs and should then not care about the DLLs in the `%SYSTEMROOT%` directory? Might there be a possibility that the set command is not working? Or is it more likely that the `%PATH%` tweak does not prevent the DLLs from being accessed if they are placed in the `%SYSTEMROOT%` ? Unfortunately I have not found out which program placed the DLLs there. Removing them from `%SYSTEMROOT%` made the CouchDB work and so far no other program I use on a daily basis has complained about it. But if I got you correct it should not be the case that a program places its DLLs in the `%SYSTEMROOT%` directory and that is the actual bug? ---------------------------------------------------------------- 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]
