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

Error loading shared library libacl.so.1 and libattr.so.1: Exec format error #2817

Closed
PureTryOut opened this issue Apr 30, 2020 · 3 comments
Closed

Comments

@PureTryOut
Copy link

Describe the bug

I'm trying to run Lutris on a Musl system (Alpine Linux). When installing a Wine game (it fails for multiple reasons, still working on it) it finishes with the following:

Error loading shared library libacl.so.1: Exec format error (needed by /usr/share/lutris/bin/lutris-wrapper)
Error loading shared library libattr.so.1: Exec format error (needed by /usr/share/lutris/bin/lutris-wrapper)
Error relocating /usr/share/lutris/bin/lutris-wrapper: attr_copy_file: symbol not found
Error relocating /usr/share/lutris/bin/lutris-wrapper: acl_entries: symbol not found
Error relocating /usr/share/lutris/bin/lutris-wrapper: attr_copy_check_permissions: symbol not found
Error relocating /usr/share/lutris/bin/lutris-wrapper: acl_get_tag_type: symbol not found
Error relocating /usr/share/lutris/bin/lutris-wrapper: acl_get_entry: symbol not found
Error relocating /usr/share/lutris/bin/lutris-wrapper: acl_free: symbol not found
Error relocating /usr/share/lutris/bin/lutris-wrapper: acl_from_mode: symbol not found
Error relocating /usr/share/lutris/bin/lutris-wrapper: acl_extended_file: symbol not found
Error relocating /usr/share/lutris/bin/lutris-wrapper: attr_copy_fd: symbol not found
Error relocating /usr/share/lutris/bin/lutris-wrapper: acl_set_file: symbol not found
Error relocating /usr/share/lutris/bin/lutris-wrapper: acl_get_fd: symbol not found
Error relocating /usr/share/lutris/bin/lutris-wrapper: acl_set_fd: symbol not found
Error relocating /usr/share/lutris/bin/lutris-wrapper: acl_get_file: symbol not found
Error relocating /usr/share/lutris/bin/lutris-wrapper: acl_delete_def_file: symbol not found
2020-04-30 13:34:12,082: The process has terminated with code 32512

I'm guessing this is because whatever that wrapper is calling is some binary dynamically compiled against glibc? Maybe it's from the Wine downloaded by Lutris? Who knows.

Expected behavior

Well, this error to not occur.

Current behavior

The above error occurs.

Steps to reproduce

  • Install Lutris on an Alpine system
  • Try to install any Wine game

Lutris debugging output

▶ lutris -d            
Illegal option -p
2020-04-30 13:33:03,848: Failed to get libraries from ldconfig: Command '['/sbin/ldconfig', '-p']' returned non-zero exit status 1.
Gtk-Message: 13:33:04.945: Failed to load module "appmenu-gtk-module"
INFO     2020-04-30 13:33:04,948 [application.do_command_line:245]:Running Lutris 0.5.6
INFO     2020-04-30 13:33:04,949 [startup.check_driver:62]:Using X.Org
INFO     2020-04-30 13:33:04,949 [startup.check_driver:64]:Running Mesa driver 20.0.5 on Radeon RX 580 Series (POLARIS10, DRM 3.35.0, 5.4.35-0-lts, LLVM 10.0.0) (0x67df)
INFO     2020-04-30 13:33:04,949 [startup.check_driver:77]:GPU: 1002:67DF 1DA2:E366 using amdgpu drivers
ERROR    2020-04-30 13:33:04,950 [startup.check_libs:112]:i386 libGL.so.1 missing (needed by opengl)
ERROR    2020-04-30 13:33:04,950 [startup.check_libs:112]:x86_64 libGL.so.1 missing (needed by opengl)
ERROR    2020-04-30 13:33:04,950 [startup.check_libs:112]:i386 libvulkan.so.1 missing (needed by vulkan)
ERROR    2020-04-30 13:33:04,950 [startup.check_libs:112]:x86_64 libvulkan.so.1 missing (needed by vulkan)
INFO     2020-04-30 13:33:07,230 [startup.check_vulkan:132]:Vulkan is supported
INFO     2020-04-30 13:33:07,231 [dxvk.get_dxvk_versions:22]:Updating DXVK versions
DEBUG    2020-04-30 13:33:08,014 [http.get:65]:GET https://lutris.net/api/runtime
DEBUG    2020-04-30 13:33:13,117 [config.remove:192]:Removed config /home/bart/.config/lutris/games/star-citizen-liveptu-1588245898.yml
DEBUG    2020-04-30 13:33:13,117 [lutriswindow.on_game_updated:779]:Updating game Star Citizen (wine)
2020-04-30 13:33:15,777: Running Lutris 0.5.6
2020-04-30 13:33:15,778: Using X.Org
2020-04-30 13:33:15,778: Running Mesa driver 20.0.5 on Radeon RX 580 Series (POLARIS10, DRM 3.35.0, 5.4.35-0-lts, LLVM 10.0.0) (0x67df)
2020-04-30 13:33:15,779: GPU: 1002:67DF 1DA2:E366 using amdgpu drivers
2020-04-30 13:33:15,779: i386 libGL.so.1 missing (needed by opengl)
2020-04-30 13:33:15,780: x86_64 libGL.so.1 missing (needed by opengl)
2020-04-30 13:33:15,780: i386 libvulkan.so.1 missing (needed by vulkan)
2020-04-30 13:33:15,780: x86_64 libvulkan.so.1 missing (needed by vulkan)
2020-04-30 13:33:19,211: Vulkan is supported
2020-04-30 13:33:19,217: Fetching installer https://lutris.net/api/installers/star-citizen-liveptu
2020-04-30 13:33:19,217: GET https://lutris.net/api/installers/star-citizen-liveptu
2020-04-30 13:33:20,925: Retrieving video modes from XrandR
2020-04-30 13:33:22,576: Required runners: [<lutris.runners.wine.wine object at 0x7f943f4c1f10>]
2020-04-30 13:33:23,925: Downloading file 1 of 1
2020-04-30 13:33:23,926: Downloading [client]: https://install.robertsspaceindustries.com/star-citizen/RSI-Setup-1.4.0.exe to /home/bart/.cache/lutris/installer/star-citizen/client/RSI-Setup-1.4.0.exe
2020-04-30 13:33:23,928: Downloading https://install.robertsspaceindustries.com/star-citizen/RSI-Setup-1.4.0.exe to /home/bart/.cache/lutris/installer/star-citizen/client/RSI-Setup-1.4.0.exe
2020-04-30 13:33:23,929: Starting download of:
 https://install.robertsspaceindustries.com/star-citizen/RSI-Setup-1.4.0.exe
2020-04-30 13:33:33,345: Finished downloading https://install.robertsspaceindustries.com/star-citizen/RSI-Setup-1.4.0.exe
2020-04-30 13:33:33,443: Installer command: {'task': {'arch': 'win64', 'name': 'create_prefix', 'prefix': '$GAMEDIR'}}
2020-04-30 13:33:33,448: Creating a win64 prefix in /games/Lutris/star-citizen
2020-04-30 13:33:33,448: Executing /home/bart/.local/share/lutris/runners/wine/lutris-5.5-2-x86_64/bin/wineboot
2020-04-30 13:33:33,449: WINEARCH=win64 WINEPREFIX=/games/Lutris/star-citizen WINEDLLOVERRIDES=
2020-04-30 13:33:38,715: Wine prefix creation is taking longer than expected...
2020-04-30 13:33:45,976: No user.reg found after prefix creation. Prefix might not be valid
2020-04-30 13:33:45,978: Installer command: {'task': {'app': 'corefonts vcrun2017 win10', 'arch': 'win64', 'name': 'winetricks', 'prefix': '$GAMEDIR'}}
2020-04-30 13:33:45,987: Prefix not found: /games/Lutris/star-citizen
2020-04-30 13:33:45,988: Creating a win64 prefix in /games/Lutris/star-citizen
2020-04-30 13:33:45,988: Executing /home/bart/.local/share/lutris/runners/wine/lutris-5.5-2-x86_64/bin/wineboot
2020-04-30 13:33:45,988: WINEARCH=win64 WINEPREFIX=/games/Lutris/star-citizen WINEDLLOVERRIDES=
2020-04-30 13:33:51,254: Wine prefix creation is taking longer than expected...
2020-04-30 13:33:58,515: No user.reg found after prefix creation. Prefix might not be valid
2020-04-30 13:33:58,521: /home/bart/.local/share/lutris/runners/wine/lutris-5.5-2-x86_64/bin/wine is provided by Lutris, using runtime
2020-04-30 13:33:58,522: The game doesn't have an executable
2020-04-30 13:33:58,522: Running /usr/share/lutris/bin/lutris-wrapper /home/bart/.local/share/lutris/runtime/winetricks/winetricks 0 0 /home/bart/.local/share/lutris/runtime/winetricks/winetricks --unattended corefonts vcrun2017 win10
2020-04-30 13:33:58,523: ENV: WINEARCH="win64"
2020-04-30 13:33:58,523: ENV: WINE="/home/bart/.local/share/lutris/runners/wine/lutris-5.5-2-x86_64/bin/wine"
2020-04-30 13:33:58,523: ENV: WINEPREFIX="/games/Lutris/star-citizen"
2020-04-30 13:33:58,523: ENV: LD_LIBRARY_PATH="/home/bart/.local/share/lutris/runners/wine/lutris-5.5-2-x86_64/lib:/home/bart/.local/share/lutris/runners/wine/lutris-5.5-2-x86_64/lib64:/usr/lib:/usr/lib64:/home/bart/.local/share/lutris/runtime/Ubuntu-18.04-i686:/home/bart/.local/share/lutris/runtime/steam/i386/lib/i386-linux-gnu:/home/bart/.local/share/lutris/runtime/steam/i386/lib:/home/bart/.local/share/lutris/runtime/steam/i386/usr/lib/i386-linux-gnu:/home/bart/.local/share/lutris/runtime/steam/i386/usr/lib:/home/bart/.local/share/lutris/runtime/Ubuntu-18.04-x86_64:/home/bart/.local/share/lutris/runtime/steam/amd64/lib/x86_64-linux-gnu:/home/bart/.local/share/lutris/runtime/steam/amd64/lib:/home/bart/.local/share/lutris/runtime/steam/amd64/usr/lib/x86_64-linux-gnu:/home/bart/.local/share/lutris/runtime/steam/amd64/usr/lib"
2020-04-30 13:33:58,523: ENV: PYTHONPATH="/usr/lib/lutris:/usr/bin:/usr/lib/python38.zip:/usr/lib/python3.8:/usr/lib/python3.8/lib-dynload:/home/bart/.local/lib/python3.8/site-packages:/usr/lib/python3.8/site-packages"
2020-04-30 13:33:58,528: The process has terminated with code 32512
2020-04-30 13:33:58,529: Management process looks dead already.
2020-04-30 13:33:58,529: Detaching logger
2020-04-30 13:33:59,531: Installer command: {'task': {'executable': 'client', 'name': 'wineexec', 'arch': 'win64', 'args': '/S', 'prefix': '$GAMEDIR'}}
2020-04-30 13:33:59,539: Prefix not found: /games/Lutris/star-citizen
2020-04-30 13:33:59,540: Creating a win64 prefix in /games/Lutris/star-citizen
2020-04-30 13:33:59,540: Executing /home/bart/.local/share/lutris/runners/wine/lutris-5.5-2-x86_64/bin/wineboot
2020-04-30 13:33:59,541: WINEARCH=win64 WINEPREFIX=/games/Lutris/star-citizen WINEDLLOVERRIDES=
2020-04-30 13:34:04,807: Wine prefix creation is taking longer than expected...
2020-04-30 13:34:12,069: No user.reg found after prefix creation. Prefix might not be valid
2020-04-30 13:34:12,074: /home/bart/.local/share/lutris/runners/wine/lutris-5.5-2-x86_64/bin/wine is provided by Lutris, using runtime
2020-04-30 13:34:12,075: Running /usr/share/lutris/bin/lutris-wrapper /home/bart/.local/share/lutris/runners/wine/lutris-5.5-2-x86_64/bin/wine 0 0 /home/bart/.local/share/lutris/runners/wine/lutris-5.5-2-x86_64/bin/wine /home/bart/.cache/lutris/installer/star-citizen/client/RSI-Setup-1.4.0.exe /S
2020-04-30 13:34:12,076: ENV: WINEARCH="win64"
2020-04-30 13:34:12,076: ENV: WINE="/home/bart/.local/share/lutris/runners/wine/lutris-5.5-2-x86_64/bin/wine"
2020-04-30 13:34:12,076: ENV: WINEPREFIX="/games/Lutris/star-citizen"
2020-04-30 13:34:12,076: ENV: LD_LIBRARY_PATH="/home/bart/.local/share/lutris/runners/wine/lutris-5.5-2-x86_64/lib:/home/bart/.local/share/lutris/runners/wine/lutris-5.5-2-x86_64/lib64:/usr/lib:/usr/lib64:/home/bart/.local/share/lutris/runtime/Ubuntu-18.04-i686:/home/bart/.local/share/lutris/runtime/steam/i386/lib/i386-linux-gnu:/home/bart/.local/share/lutris/runtime/steam/i386/lib:/home/bart/.local/share/lutris/runtime/steam/i386/usr/lib/i386-linux-gnu:/home/bart/.local/share/lutris/runtime/steam/i386/usr/lib:/home/bart/.local/share/lutris/runtime/Ubuntu-18.04-x86_64:/home/bart/.local/share/lutris/runtime/steam/amd64/lib/x86_64-linux-gnu:/home/bart/.local/share/lutris/runtime/steam/amd64/lib:/home/bart/.local/share/lutris/runtime/steam/amd64/usr/lib/x86_64-linux-gnu:/home/bart/.local/share/lutris/runtime/steam/amd64/usr/lib"
2020-04-30 13:34:12,076: ENV: DXVK_HUD="0"
2020-04-30 13:34:12,076: ENV: PYTHONPATH="/usr/lib/lutris:/usr/bin:/usr/lib/python38.zip:/usr/lib/python3.8:/usr/lib/python3.8/lib-dynload:/home/bart/.local/lib/python3.8/site-packages:/usr/lib/python3.8/site-packages"
Error loading shared library libacl.so.1: Exec format error (needed by /usr/share/lutris/bin/lutris-wrapper)
Error loading shared library libattr.so.1: Exec format error (needed by /usr/share/lutris/bin/lutris-wrapper)
Error relocating /usr/share/lutris/bin/lutris-wrapper: attr_copy_file: symbol not found
Error relocating /usr/share/lutris/bin/lutris-wrapper: acl_entries: symbol not found
Error relocating /usr/share/lutris/bin/lutris-wrapper: attr_copy_check_permissions: symbol not found
Error relocating /usr/share/lutris/bin/lutris-wrapper: acl_get_tag_type: symbol not found
Error relocating /usr/share/lutris/bin/lutris-wrapper: acl_get_entry: symbol not found
Error relocating /usr/share/lutris/bin/lutris-wrapper: acl_free: symbol not found
Error relocating /usr/share/lutris/bin/lutris-wrapper: acl_from_mode: symbol not found
Error relocating /usr/share/lutris/bin/lutris-wrapper: acl_extended_file: symbol not found
Error relocating /usr/share/lutris/bin/lutris-wrapper: attr_copy_fd: symbol not found
Error relocating /usr/share/lutris/bin/lutris-wrapper: acl_set_file: symbol not found
Error relocating /usr/share/lutris/bin/lutris-wrapper: acl_get_fd: symbol not found
Error relocating /usr/share/lutris/bin/lutris-wrapper: acl_set_fd: symbol not found
Error relocating /usr/share/lutris/bin/lutris-wrapper: acl_get_file: symbol not found
Error relocating /usr/share/lutris/bin/lutris-wrapper: acl_delete_def_file: symbol not found
2020-04-30 13:34:12,082: The process has terminated with code 32512
2020-04-30 13:34:12,082: Management process looks dead already.
2020-04-30 13:34:12,083: Detaching logger
2020-04-30 13:34:13,095: Saving Star Citizen (wine)
2020-04-30 13:34:13,095: Saving LutrisConfig(level=game, game_config_id=star-citizen-liveptu-1588246453, runner=wine) config to /home/bart/.config/lutris/games/star-citizen-liveptu-1588246453.yml
2020-04-30 13:34:13,104: Updating game Star Citizen (wine)
2020-04-30 13:34:13,125: Saved game entry star-citizen (1)
2020-04-30 13:34:13,142: No executable found at specified location /games/Lutris/star-citizen/drive_c/Program Files/Roberts Space Industries/RSI Launcher/RSI Launcher.exe

System information

lutris-issue-report.zip

@xordspar0
Copy link
Contributor

I just tried this in a docker container and I can't even get the wine process to start because it uses /lib/ld-linux.so.2. How did you get that far?

@PureTryOut
Copy link
Author

PureTryOut commented Apr 30, 2020

Well, I just tried to install an existing script for a Wine game (Star Citizen in my case). Did nothing special really.

@strycore
Copy link
Member

Musl systems are not supported in Lutris.

@lutris lutris locked as resolved and limited conversation to collaborators Feb 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants