otti358 / mtga-launcher

Simple Magic The Gathering Arena Launcher for Linux
https://github.com/otti358?tab=repositories
17 stars 0 forks source link

cannot execute: required file not found #8

Open h3rb1n4t0r opened 3 weeks ago

h3rb1n4t0r commented 3 weeks ago

Error message

The following error message is displayed when starting the launcher:

 _______ _______  ______ _____ _______      _______ _     _ _______       ______ _______ _______ _     _ _______  ______ _____ __   _  ______     
 |  |  | |_____| |  ____   |   |               |    |_____| |______      |  ____ |_____|    |    |_____| |______ |_____/   |   | \  | |  ____     
 |  |  | |     | |_____| __|__ |_____          |    |     | |______      |_____| |     |    |    |     | |______ |    \_ __|__ |  \_| |_____|     

./mtga-launcher: Zeile 28: /home/mw/mtga-launcher/wine/bin/wine: cannot execute: required file not found
./mtga-launcher: Zeile 28: /home/mw/mtga-launcher/wine/bin/wine: cannot execute: required file not found

The wine executable in the directory listed in the error message exists and is executable.

System information

      _,met$$$$$gg.          mw@hp-ed 
    ,g$$$$$$$$$$$$$$$P.       -------- 
  ,g$$P"     """Y$$.".        OS: Debian GNU/Linux 12 (bookworm) x86_64 
 ,$$P'              `$$$.     Host: HP EliteDesk 800 G2 DM 65W 
',$$P       ,ggs.     `$$b:   Kernel: 6.1.0-21-amd64 
`d$$'     ,$P"'   .    $$$    Uptime: 11 mins 
 $$P      d$'     ,    $$P    Packages: 3561 (dpkg), 7 (flatpak), 17 (snap) 
 $$:      $$.   -    ,d$$'    Shell: fish 3.6.0 
 $$;      Y$b._   _,d$P'      Resolution: 2560x1440 
 Y$$.    `.`"Y$$$$P"'         DE: Plasma 5.27.5 
 `$$b      "-.__              WM: KWin 
  `Y$$                        WM Theme: Bismuth 
   `Y$$.                      Theme: [Plasma], Breeze [GTK2/3] 
     `$$b.                    Icons: [Plasma], Nordic-darker [GTK2/3] 
       `Y$$b.                 Terminal: konsole 
          `"Y$b._             Terminal Font: Hack 10 
              `"""            CPU: Intel i5-6500 (4) @ 3.600GHz 
                              GPU: Intel HD Graphics 530 
                              Memory: 3627MiB / 7820MiB

Steps taken

  1. Run apt commands for Debian as per Github Landing Page of the project
  2. Clone project, cd into it and start the launcher
gustrd commented 3 weeks ago

Maybe it's a permission issue?

h3rb1n4t0r commented 3 weeks ago

The file is there and executable. However, it seems that wine is required to be installed for the root user on the root directory. I found out by trying lutris, which when started via CLI, states any missing dependencies. I installed wine using the following command as root (su root beforehands):

dpkg --add-architecture i386 && apt-get update &&
apt-get install wine32:i386

Note that this will occupy some amount on the root partition.

Reference to lutris github: https://github.com/lutris/lutris/issues/4167#issuecomment-1847441117