Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No such file or directory error for Wine without x86 libc #4339

Open
matrdr opened this issue Feb 16, 2025 · 1 comment
Open

No such file or directory error for Wine without x86 libc #4339

matrdr opened this issue Feb 16, 2025 · 1 comment
Labels
bug:unconfirmed Someone works on identifying the issue

Comments

@matrdr
Copy link

matrdr commented Feb 16, 2025

Describe the bug

I tried to run an Epic game on a fresh installation of Lubuntu and afterwards on a fresh installation of Xubuntu. In both cases I could download the game, but when launching I received the following error:

Add logs

Launching "Drawful 2" (legendary)

Native? No

Installed in: /home/matthira/Games/Heroic/Drawful2

System Info:

CPU: 6x AMD Ryzen 5 5600X 6-Core Processor

Memory: 8.33 GB (used: 579.13 MB)

GPUs:

  GPU 0:

    Name: VMware SVGA II Adapter

    IDs: D=0405 V=15ad SD=0405 SV=15ad

    Driver: vmwgfx

OS: Ubuntu 22.04.5 LTS (Jammy Jellyfish) (linux)

The current system is not a Steam Deck

We are not running inside a Flatpak container

Software Versions:

  Heroic: 2.15.2 Emeth

  Legendary: 0.20.36 Urban Flight (Heroic)

  gogdl: 1.1.2

  comet: comet 0.1.2

  Nile: 1.1.2 Will A. Zeppeli

Game Settings: {

	"autoInstallDxvk": true,

	"autoInstallDxvkNvapi": false,

	"autoInstallVkd3d": true,

	"preferSystemLibs": false,

	"enableEsync": true,

	"enableMsync": false,

	"enableFsync": true,

	"nvidiaPrime": false,

	"enviromentOptions": [],

	"wrapperOptions": [],

	"showFps": false,

	"useGameMode": false,

	"battlEyeRuntime": true,

	"eacRuntime": true,

	"language": "",

	"beforeLaunchScriptPath": "",

	"afterLaunchScriptPath": "",

	"wineVersion": {

		"bin": "/home/matthira/.config/heroic/tools/wine/Wine-GE-Proton8-26/bin/wine",

		"name": "Wine - Wine-GE-Proton8-26",

		"type": "wine",

		"lib": "/home/matthira/.config/heroic/tools/wine/Wine-GE-Proton8-26/lib64",

		"lib32": "/home/matthira/.config/heroic/tools/wine/Wine-GE-Proton8-26/lib",

		"wineserver": "/home/matthira/.config/heroic/tools/wine/Wine-GE-Proton8-26/bin/wineserver"

	},

	"winePrefix": "/home/matthira/Games/Heroic/Prefixes/default/Drawful 2",

	"wineCrossoverBottle": ""

}

Game launched at: Sun Feb 16 2025 15:31:52 GMT+0100 (Central European Standard Time)

Winetricks packages: 

Launch Command: HEROIC_APP_NAME=Daisy HEROIC_APP_RUNNER=legendary GAMEID=umu-0 HEROIC_APP_SOURCE=epic STORE=egs STEAM_COMPAT_INSTALL_PATH=/home/matthira/Games/Heroic/Drawful2 LD_PRELOAD= WINEPREFIX="/home/matthira/Games/Heroic/Prefixes/default/Drawful 2" WINEDLLOVERRIDES=winemenubuilder.exe=d WINE_FULLSCREEN_FSR=0 WINEESYNC=1 WINEFSYNC=1 PROTON_EAC_RUNTIME=/home/matthira/.config/heroic/tools/runtimes/eac_runtime PROTON_BATTLEYE_RUNTIME=/home/matthira/.config/heroic/tools/runtimes/battleye_runtime ORIG_LD_LIBRARY_PATH= LD_LIBRARY_PATH=/home/matthira/.config/heroic/tools/wine/Wine-GE-Proton8-26/lib64:/home/matthira/.config/heroic/tools/wine/Wine-GE-Proton8-26/lib GST_PLUGIN_SYSTEM_PATH_1_0=/home/matthira/.config/heroic/tools/wine/Wine-GE-Proton8-26/lib64/gstreamer-1.0:/home/matthira/.config/heroic/tools/wine/Wine-GE-Proton8-26/lib/gstreamer-1.0 WINEDLLPATH=/home/matthira/.config/heroic/tools/wine/Wine-GE-Proton8-26/lib64/wine:/home/matthira/.config/heroic/tools/wine/Wine-GE-Proton8-26/lib/wine /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/legendary launch Daisy --wine /home/matthira/.config/heroic/tools/wine/Wine-GE-Proton8-26/bin/wine --language en

Game Log:

[cli] INFO: Logging in...

[Core] INFO: Trying to re-use existing login session...

[cli] INFO: Checking for updates...

[Core] INFO: Getting authentication token...

[cli] INFO: Launching Daisy...

Traceback (most recent call last):

  File "legendary/cli.py", line 3224, in <module>

  File "legendary/cli.py", line 3137, in main

  File "legendary/cli.py", line 718, in launch_game

  File "subprocess.py", line 951, in __init__

  File "subprocess.py", line 1837, in _execute_child

FileNotFoundError: [Errno 2] No such file or directory: '/home/matthira/.config/heroic/tools/wine/Wine-GE-Proton8-26/bin/wine'

[PYI-2589:ERROR] Failed to execute script 'cli' due to unhandled exception!

============= End of log =============

Steps to reproduce

  1. Download a game (I tried Drawful 2 and Jackbox Party Pack 4)
  2. Launch

Expected behavior

I would expect these games either to run or have a more appropriate error message.

Screenshots

Image

Heroic Version

Latest Stable

System Information

  • Xubuntu 2404, Lubuntu 2204
  • Heroic installed via .deb package

Additional information

After a slight investigation I found out that the Wine version that Heroic installs cannot be launched by itself. At least the (presumably) 32-bit version. The executable wine64 can be launched without an issue.

matthira@matthias-lubuntu:~/.config/heroic/tools/wine/Wine-GE-Proton8-26/bin$ ls
msidb    notepad  regsvr32  wine64            wineboot  wineconsole  winefile  winepath        wineserver
msiexec  regedit  wine      wine64-preloader  winecfg   winedbg      winemine  wine-preloader
matthira@matthias-lubuntu:~/.config/heroic/tools/wine/Wine-GE-Proton8-26/bin$ ./wine --version
bash: ./wine: No such file or directory
matthira@matthias-lubuntu:~/.config/heroic/tools/wine/Wine-GE-Proton8-26/bin$ ./wine64 --version
wine-8.0-3001-g39021e609a2 (Staging)

On Stackoverflow I found a suggestion that this means that the libc for x86 is not available on my system and that it can be solved by installing gcc-multilib. And this did indeed fix it. The games now run flawlessly.

I do not know if this (or better the concrete library that is necessary) can be set as a dependency of Heroic. Or at least to give a better error message. Due to the current error message I often tried logging in and out of my Epic account without this changing anything.

@matrdr matrdr added the bug:unconfirmed Someone works on identifying the issue label Feb 16, 2025
@arielj
Copy link
Collaborator

arielj commented Feb 16, 2025

you need to install the wine dependencies https://github.com/lutris/docs/blob/master/WineDependencies.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug:unconfirmed Someone works on identifying the issue
Projects
None yet
Development

No branches or pull requests

2 participants