From: Mona on
Hi,

I am building a tkpng package which depends on zlib.
I have the following link line, and am linking with zlib1.lib.

link -dll -nologo /MANIFEST C:/my_sandbox/third_party/tcl/tcl8.5.6/
win
32d/lib/tclstub85d.lib C:/my_sandbox/third_party/tcl/tcl8.5.6/win32d/
li
b/tkstub85d.lib C:/my_sandbox/third_party/tcl/tcl8.5.6/../../
zlib-1.2.3
/shared/lib/win32d/zlib1.lib -debug -out:tkpng09d.dll tkImgPNG.obj
tkImgPNGInit.
Obj

It finds the built package just fine if I am use it from the
installation directory, i.e. where this package dll is at. But, when
I try to use the package from some other folder location it complains:
“couldn't load library "C:/my_sandbox/third_party/tcl/tcl8.5.6/win32d/
lib/tkpng0.9/tkpng09d.dll": this library or a dependent library could
not be found in library path.”

Does anyone have an idea how I can resolve this?

Thanks,
Mona.