Open Miner34dev opened 11 months ago
I had exactly the same issue (on Debian 12). IMO zip is bad for this, IDK if it even can pack symlinks. I did a symlink on my own and the file is then 45 bytes and works (points to right .so file).
Anyway I fixed this and started RoR, after doing few file replaces. So simply replacing the bigger (so) files with longer names to these:
Size Filename
89096 libbsd.so.0
47472 libmd.so.0
184480 libOIS.so
18720 libXau.so.6
479576 libXaw.so.7
26800 libXdmcp.so.6
81640 libXext.so.6
111024 libXmu.so.6
80800 libXpm.so.4
441760 libXt.so.6.0
31704 libzzip-0.so.13
Hope it helps.
This should be fixed by devs in that bad zip, maybe just use 7z.
This should be reopened, issue is still present.
This should be fixed by devs in that bad zip, maybe just use 7z.
What about a tar archive (.tar.xz)?
.tar.xz should be fine too
This should be fixed by devs in that bad zip, maybe just use 7z.
There is nothing we can do about that, the zip is generated by the itch.io website
Okay if format zip has to stay, then could you rename these files like in my comment? So users don't have to do it manually, if they know what to do even.
I am not sure of how those zips are generated, but (correct me if i'm wrong) to get them on itch.io, you take a build artifact, you decompress it and then you put it on itch.io that then recompresses it right? If it is like that, wouldn't it be possible to directly upload the build artifact zip, which works perfectly? (edit: nevermind, it doesn't work either)
BTW, apparently 7z is bad too, info here: https://unix.stackexchange.com/questions/600282/preserve-file-permissions-and-symlinks-in-archive-with-7-zip So the only good way I know is compressing using .tgz
You could e.g. at least make a .sh script that users need to run after downloading to get it fixed. And write about it on download page etc. Because otherwise it seems like you didn't want most users to run RoR on Linux even.
Steps to reproduce
./RunRoR
Expected behavior
Start Rigs of Rods.
Actual behavior
It crashes with this error:
./RoR: error while loading shared libraries: ./lib/libXt.so.6: file too short
System configuration
OS: Garuda Linux (Arch derivate)
Additional information
libXt.so.6 seems to be just 14 bytes long. I tried to re-download RoR, but nothing changed.