Questions tagged [zlib]
zlib is a library used for data compression. Also a crucial component of many software platforms including Linux, Mac OS X, and the iOS
zlib
2,395
questions
0
votes
0
answers
34
views
trying to build podofo 0.9.8 on mingw64, missing zlib
I can't install podofo version 0.9.8 (clone from git https://aur.archlinux.org/podofo-0.9.git), because I get this error of ZLIB
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs....
0
votes
0
answers
20
views
zlib error when running cdk bootstrap in wsl2
I am trying to bootstrap a new aws environment using cdk bootstrap. Nevertheless, I get the following error:
jsii.errors.JavaScriptError:
ZlibError: zlib: unexpected end of file
at Unzip....
1
vote
2
answers
113
views
Delphi Zlib: how to compress with windowbits -15 (raw deflate)
I need to compress data in a "raw deflate" manner, with Windowbits set to -15. Files containing compressed data have been compressed that way by an external party, which gets decompressed ...
0
votes
1
answer
50
views
Java client + Apache HTTP server + GZIP Compression/Decompression
I want to compress HTTP traffic via gzip content-encoding http header, both on requests and responses. I'm able to receive compressed data from the HTTP server and to decompress it, but if I try to ...
0
votes
1
answer
37
views
What is avail_out minimum possible value for inflate in zlib z_stream?
I checked the zlib example at https://zlib.net/zpipe.c and I've seen that chunk size of 16384 bytes is used. But what is minimal possible chunk size for output inflate data could be used? Can I use ...
-2
votes
2
answers
75
views
Where is z_uncompress and z_compress defined in zlib?
I am building a C++ project that uses zlib, and I get this error:
undefined symbol: z_uncompress
undefined symbol: z_compress
I investigated it further, and I've found this reference in zconf
# ...
0
votes
0
answers
43
views
fatal error: zconf.h: No such file or directory when I do have the file in the specified directory
I'm trying to make a code in PHP that I want uploaded on Google Cloud Run.
This is my Dockerfile:
# Use the official PHP image.
FROM php:8.2-apache
# Install necessary PHP extensions
RUN docker-php-...
0
votes
0
answers
50
views
Build static zlib for Android
I'm using the following script. It should produce static lib. However, it produces both libz.a and libz.so.
(I have -DBUILD_SHARED_LIBS=OFF specified.)
How can I set it to produce static libs only?
#!/...
0
votes
1
answer
70
views
zlib inflate() partly hangs while uncompressing buffer
I use zlib 1.3.1 on MicroChip/XC32. It's imported through included Harmony and it translates perfect. My goal is to receive data via a serial connection through various ways. This already works with ...
0
votes
0
answers
26
views
Node.js: Pipe data parsed from "zlib.createGunZip" and "tar.extract" to custom transform function
I am using packages "tar-stream" and "zlib" to extract files from a TGZ file.
Is there a way to send data to a custom Transform function ?
"tarStream.extract()" doesn't ...
0
votes
0
answers
122
views
Using minizip with new version of Zlib
I've got an older project that uses minizip with Zlib, probably from 15 years ago. I'm trying to update the project to use the latest versions of both (1.3.1) in hopes of being able to support .zip ...
0
votes
0
answers
65
views
zlib inflate failing with errors like invalid distance too far back/ invalid block type/ invalid stored block lengths
Background: I am trying to deflate an in-memory buffer into a file and inflate it later for debugging.
In this case when the logs are flowing at a faster rate (about every millisecond) I see failures ...
0
votes
0
answers
57
views
Decoding Aztec Barcode information from Ticket
I have an Aztec barcode that I am trying to decode. When I try to do so, I get the same exact string every time and it is encoded. There is no information about what encoding is used, so I am reaching ...
0
votes
0
answers
80
views
ModuleNotFoundError: No package named 'zlib'
I am trying to run a Python3.11.3 program on my chromebook. I was able to install Python3.11.3 using a tar.gz file and unpacking it, then running the commands:
./configure --prefix=/user/local/Python-...
0
votes
0
answers
57
views
problem with decompressing encrypted data in frontend
i am quite new to programing I'm trying to create application where user send gltf file to node where it compressed, encrypted and stored in mongoodb gridfr and when user requests file it is fetched ...