You are not logged in.

#1 2012-07-14 20:46:08

HerrJemineh
Member
Registered: 2009-08-11
Posts: 7

[Solved] Wine: No such file or directory

Hello everyone,

since today I can’t use wine anymore because my system tells me 'command not found: wine' when doing `wine foobar.exe`. Wine is installed via pacman from multilib and I have no idea what’s wrong:

/usr/bin/wine foobar.exe
zsh: no such file or directory: /usr/bin/wine

pacman -Qs wine
local/wine 1.5.8-1
    A compatibility layer for running Windows programs
local/winetricks 20120308-1
    Script to install various redistributable runtime libraries in Wine.

which wine
/usr/bin/wine

ls /usr/bin | grep wine
wine
wine-preloader
wine64
wine64-preloader
wineboot
winebuild
winecfg
wineconsole
winecpp
winedbg
winedump
winefile
wineg++
winegcc
winemaker
winemine
winepath
wineserver
winetricks

Got any hints? I’m kinda confused. hmm

Last edited by HerrJemineh (2012-07-15 13:40:20)

Offline

#2 2012-07-14 21:59:58

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Wine: No such file or directory

Such error messages often mean there's an architecture mismatch i.e. you're using 32-bit binary on a 64-bit system or vice-versa.
Please post the output of

file /usr/bin/wine
uname -m

Offline

#3 2012-07-15 13:39:45

HerrJemineh
Member
Registered: 2009-08-11
Posts: 7

Re: [Solved] Wine: No such file or directory

karol wrote:

Such error messages often mean there's an architecture mismatch i.e. you're using 32-bit binary on a 64-bit system or vice-versa.
Please post the output of

file /usr/bin/wine
uname -m

Thank you, seems that’s the fault:


file /usr/bin/wine
/usr/bin/wine: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=0x7cbd0c232e5f2054c6dee2652fec07a1f9624e7d, stripped

uname -m
x86_64

A fresh reinstall (I tried this before opening this thead, too oO) did the trick. So I’ll mark this as solved, anyway it would be nice to know how this could happen!?

Offline

#4 2012-07-15 16:02:19

bluewind
Administrator
From: Austria
Registered: 2008-07-13
Posts: 172
Website

Re: [Solved] Wine: No such file or directory

You didn't update glibc, but you did update lib32-glibc to 2.0.16-2 which moved the 32bit linker to /usr/lib. Without glibc 2.0.16-2 /lib won't be a symlink to /usr/lib therefore linux won't find the 32bit linker in /lib.

Always update everything if you don't know exactly what you are doing.

Offline

#5 2012-07-15 18:28:20

HerrJemineh
Member
Registered: 2009-08-11
Posts: 7

Re: [Solved] Wine: No such file or directory

Okay, I see. Had some struggles in spite of the announcement, so I postponed the glibc upgrade in order to get some other stuff done. Thank you anyway for pointing this out!

Offline

Board footer

Powered by FluxBB