Menu

#16 zlib in version 7 not present

None
closed
zlib (1)
5
2025-12-31
2025-07-16
Dana Booth
No

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!

Discussion

  • Dennis R. LaBelle

    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.

     
  • Dana Booth

    Dana Booth - 2025-08-26

    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
  • Dennis R. LaBelle

    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.

     
  • Dana Booth

    Dana Booth - 2025-08-28

    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!

     
  • Dennis R. LaBelle

    • status: open --> closed
    • assigned_to: Dennis R. LaBelle
    • Group: -->
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB