avalan_che
avalan_che

Reputation: 93

vim could load not tcl86.dll

Yesterday I built gvim (7.4.552, 32-bit) on Windows XP with +tcl +lua +python, MinGW make gave a few error messages about tcl lib (I'm using ActiveTcl8.6.3), but still gvim.exe was created.

I tried lua and tcl and everything worked as expected. But today gvim said it could not load library tcl86.dll. I had not changed anything to the system, and tcl86.dll is on search path. This is so confusing I don't even know where to look at.

This is my build command:

mingw32-make.exe -f Make_ming.mak LUA="d:/Lua/5.1" LUA_VER=52 TCL="D:/Tcl" TCL_VER=86 PYTHON="D:/Python27" PYTHON_VER=27 DYNAMIC_PYTHON=yes PYTHON3="D:/Python33" PYTHON3_VER=33 DYNAMIC_PYTHON3=yes FEATURES=HUGE GUI=yes gvim.exe

Upvotes: 1

Views: 663

Answers (1)

avalan_che
avalan_che

Reputation: 93

From os_win32.c, I built a tiny exe to load tcl86.dll, the error message pointed to zlib1.dll. A search showed there was a copy in c:\windows\system32, it was of lower version and smaller size than the one in tcl/bin.

Copying tcl/bin/zlib1.dll to $VIMRUNTIME solved the problem. Or, even better I thought, just delete the one in windows/system32.

Upvotes: 1

Related Questions