Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal error C1902: Program database manager mismatch; please check your installation #6

Open
rom4s opened this issue Jan 30, 2020 · 6 comments

Comments

@rom4s
Copy link

rom4s commented Jan 30, 2020

caused:

005a:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.

additional package required:

sudo apt install winbind

@mstorsjo
Copy link
Owner

This is a known issue (but which I probably haven't written down anywhere here); anything relating to PDB files doesn't really work (at least not the normal way that it's done, where a separate debug "server" process writes a PDB file, and the compiler processes communicate with this process).

So depending on build system, you might need disable debug info.

@Cryspia
Copy link

Cryspia commented Apr 15, 2020

I met the same problem when compiling vim. The problem appeared because that cl tried to enable multiple process compilation, which wine may not support, and cause a race condition on the pdb file. After disabling /MP in cl arguments, the compilation succeeded.

I am not sure whether it is exactly a same problem, but hope it helps.

@mstorsjo
Copy link
Owner

Yes, avoiding concurrent writes to the PDB file kind of works. For newer MSVC versions it seems like it works if you use /Z7 instead of /Zi as well, for enabling the debug info - /Z7 uses the "old" behaviour of the compiler writing the debug info into the object files, leaving it up to the linker to merge it.

@powpingdone
Copy link

Are you using a custom build of wine? I fixed (at least that wine parallel bug) by installing winbind.

@dmikushin
Copy link

I was also able to fix this one by complementing @mstorsjo great work with winbind installation:

sudo apt install winbind
sudo service winbind start

@sr-tream
Copy link

sr-tream commented Sep 1, 2023

For archlinux also need to install samba packet. Starting service not required.

pacman -S libwbclient samba

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants