Menu

#986 zlib library is missing

closed
nobody
release/packaging
2023-12-25
2023-09-20
Cole Salmi
No

As per bug 447 this should be reported as a new issue.

libz library is missing from the release of fbc 1.10.0

Discussion

  • Jeff Marshall

    Jeff Marshall - 2023-12-03

    Which release package exactly?

    zlib1.dll has been included in every release since fbc-1.00.0

    This is a feature request to include static libz.a with the release?

     
  • Cole Salmi

    Cole Salmi - 2023-12-05

    Release package: FreeBASIC-1.10.0-win64

    Yes, this would be a request to get libz.a with the release. Whatever the minimal to get the example here working would be: https://freebasic.net/wiki/ExtLibzlib

    To be honest I did not check the /bin directory for zlib1.dll. I suppose it wouldn't be the hardest to create the dll.a from that.

     
  • Jeff Marshall

    Jeff Marshall - 2023-12-10

    Ah, I see. It may be helpful for me to report that the last couple of months I have been working on JayRM's FreeBASIC Load Out which includes a static build of libz.a plus the associated .bi header.

    I am thinking I prefer this approach of separating compiler releases from other products to make fbc releases more efficient and maintainable. Because nothing in fbc compiler itself requires zlib.a to be present and ensuring that the correct library version is included and is working is just another extra point of failure for making a good compiler release. And if zlib.a is included, why not all library packages? It's too many. Maybe compiler release and extra packages can be combined in future for one whole comprehensive package (or some other contributor is welcome to do that and release it) but for now it is much more manageable to have them separated.

    If you accept that separate download for zlib.a is acceptable, I will close the ticket. Thanks.

     
  • Cole Salmi

    Cole Salmi - 2023-12-14

    That sounds reasonable. I'll look forward to it's release then.

     
  • Jeff Marshall

    Jeff Marshall - 2023-12-25

    FYI, libz.a and header is available in the release packages linked. Thank you.

     
  • Jeff Marshall

    Jeff Marshall - 2023-12-25
    • status: open --> closed
     

Log in to post a comment.

Monday.com Logo