"Gregory M. Turner" gmturner007@ameritech.net writes:
Of course, this is totally my fault for having two ntdll's in my library path... and thank goodness for "make uninstall," which made fixing this easy... but, under the circumstances, shouldn't the loader be loading just /one/ ntdll, even if it's the wrong one or whatever?
It's because ntdll is looked for both in WINEDLLPATH (for explicit dlopen calls) and in LD_LIBRARY_PATH (when ld.so loads dependencies), and if that yields two different files then both get loaded, with bad results as you have noticed. This will be fixed once kernel32 dll separation is finished.