RigsOfRods / rigs-of-rods

Main development repository for Rigs of Rods soft-body physics simulator

Home Page:https://www.rigsofrods.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lib/libXt.so.6 file too short error

Miner34dev opened this issue · comments

Steps to reproduce

  1. Download the development version from here
  2. Extract it somewhere
  3. Run it with ./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.

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.