Compatibility Issue with gzip Under Wine for File Compression

Questions about Wine on Linux
Locked
gabin8207
Newbie
Newbie
Posts: 1
Joined: Thu Nov 07, 2024 3:52 pm

Compatibility Issue with gzip Under Wine for File Compression

Post by gabin8207 »

Hello,

I’m encountering an issue using gzip for file compression on a Linux-based application running under Wine. The setup involves a bash script that compresses log files using gzip before transferring them to a backup location.

The issue: when the script is executed within the Wine environment, the compression either fails silently or produces corrupted .gz files that cannot be decompressed. Running the exact same script natively on Linux works flawlessly.

Here are the details of my setup:

Wine version: 8.0.2
gzip version: 1.12
Linux distribution: Ubuntu 22.04 (on which Wine is running)
What I’ve tried so far:

Verified that Wine has all necessary permissions to access and modify the files.
Tested gzip with simple commands like gzip -k file.txt inside Wine; the files created are still corrupted.
Ensured Wine is fully updated, and dependencies are correctly installed.
Used Wine with both 32-bit and 64-bit prefixes to see if it makes any difference (it doesn’t).
I suspect this might be related to how Wine handles file I/O operations or temporary files when gzip tries to write the output.

Has anyone encountered similar issues with gzip or other compression tools under Wine? Are there specific configurations in Wine that can improve compatibility in this case?

Thank you for any insights or suggestions!
qwertymnb
Level 5
Level 5
Posts: 272
Joined: Sun Jan 17, 2016 4:36 pm

Re: Compatibility Issue with gzip Under Wine for File Compression

Post by qwertymnb »

Can we test this application ourselves? (like there is a free downloadlink)?
Locked