Hello Dennis, the version 6 supported the zlib package, but version 7 doesn't seem to. I don't have TCL 9.0 installed on my system yet, has zlib been superceded or something? Many of my little scripts include zlib. Thank you!
The zlib command is still present in freeWrap 7. What makes you think zlib is not available? Please provide a script example that displays the problem.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Dennis, I could not reproduce the error using the Linux version, however, it was the Windows version that does give the no zlib error. I recreated the error with screenshots, and include the script that produces this error, thanks,
With my testing, I find that the zlib behavior is identical between Linux and Windows.
Please remove the [package require zlib] statement from your application. Zlib is not a loadable module. Instead, it is statically linked (and already loaded) into freeWish. There is no need to use a package require command.
You application appears to work fine once the package require statement is removed.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I absolutely did not know that, I've always put an include line in for zlib over the years without knowing that I didn't have to, I just ran it using Wish as well without the include. I feel quite chagrined and an sorry to have wasted your time!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The zlib command is still present in freeWrap 7. What makes you think zlib is not available? Please provide a script example that displays the problem.
Hi Dennis, I could not reproduce the error using the Linux version, however, it was the Windows version that does give the no zlib error. I recreated the error with screenshots, and include the script that produces this error, thanks,
Last edit: Dana Booth 2025-08-26
Dana,
With my testing, I find that the zlib behavior is identical between Linux and Windows.
Please remove the [package require zlib] statement from your application. Zlib is not a loadable module. Instead, it is statically linked (and already loaded) into freeWish. There is no need to use a package require command.
You application appears to work fine once the package require statement is removed.
Hi Dennis,
I absolutely did not know that, I've always put an include line in for zlib over the years without knowing that I didn't have to, I just ran it using Wish as well without the include. I feel quite chagrined and an sorry to have wasted your time!