No such file or directory

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
MERDE1337
Level 2
Level 2
Posts: 10
Joined: Mon Mar 22, 2010 7:15 am

No such file or directory

Post by MERDE1337 »

Hello people.
I am using a Debian based distro, 64-bit.
I have instealled the 1.1.40 Lenny version of Wine, from your site.

But I can't start Wine at all. It gives the error.
bash: /usr/bin/wine: No such file or directory
The executable file is there.

What is wrong and how can I fix it?

Many thanks.
MERDE1337
Level 2
Level 2
Posts: 10
Joined: Mon Mar 22, 2010 7:15 am

Post by MERDE1337 »

I didn't find how to edit my previous post so...
Nothing seems to be wrong, here's the proof.

[quote=ls -l /usr/bin/wine]-rwxr-xr-x. 1 root root 16920 2010-03-06 08:32 /usr/bin/wine[/quote]
[quote=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.8, not stripped[/quote]
Frédéric Delanoy

No such file or directory

Post by Frédéric Delanoy »

Maybe it is not in your path? Try 'which wine'

On Mon, Mar 22, 2010 at 1:25 PM, MERDE1337 <[email protected]> wrote:
I didn't find how to edit my previous post so...
Nothing seems to be wrong, here's the proof.
ls -l /usr/bin/wine wrote:-rwxr-xr-x. 1 root root 16920 2010-03-06 08:32 /usr/bin/wine
file /usr/bin/wine wrote:/usr/bin/wine: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, not stripped
MERDE1337
Level 2
Level 2
Posts: 10
Joined: Mon Mar 22, 2010 7:15 am

Post by MERDE1337 »

Has got nothing to do with path.
Same error if you try to run
$ /usr/bin/wine
MERDE1337
Level 2
Level 2
Posts: 10
Joined: Mon Mar 22, 2010 7:15 am

Post by MERDE1337 »

It's frustrating that there's no edit option for your own posts.
Anyway, help!

Also: why is wine 32-bit on a 64-bit distribution?
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

MERDE1337 wrote:It's frustrating that there's no edit option for your own posts.
Anyway, help!

Also: why is wine 32-bit on a 64-bit distribution?
Read the sticky at the top of the forum for why editing is disabled.

64 bit Wine is still highly experimental and doesn't actually run anything yet.
MERDE1337
Level 2
Level 2
Posts: 10
Joined: Mon Mar 22, 2010 7:15 am

Post by MERDE1337 »

dimesio wrote: Read the sticky at the top of the forum for why editing is disabled.

64 bit Wine is still highly experimental and doesn't actually run anything yet.
OK on 1.
And OK on 2.

So do you think that somehow the kernel doesn't recognize Wine's 32-bit executable as being valid? Good old 1.1.27 ran fine.
James Mckenzie

No such file or directory

Post by James Mckenzie »

It's frustrating that there's no edit option for your own posts.
Anyway, help!
See the first sticky for why you cannot edit posts.
Also: why is wine 32-bit on a 64-bit distribution?
Because Wine on 64 bit has major problems right now, like you cannot run your 32 bit Windows programs on it.

So, we have to build as a 32 bit program for now. Yes, there is work to get the 64bit to 32bit Windows on Windows (WoW) working.

James McKenzie
MERDE1337
Level 2
Level 2
Posts: 10
Joined: Mon Mar 22, 2010 7:15 am

Re: No such file or directory

Post by MERDE1337 »

James Mckenzie wrote:Because Wine on 64 bit has major problems right now, like you cannot run your 32 bit Windows programs on it.

So, we have to build as a 32 bit program for now. Yes, there is work to get the 64bit to 32bit Windows on Windows (WoW) working.

James McKenzie
Hello James. I hope you people get the 64-bit version up and running soon.
Yet I need a solution for my current problem.
If this problem is because of Debian's 32-bit compatibility ... thing ... then I'd rather bug them than you.
John Drescher

No such file or directory

Post by John Drescher »

I hope you people get the 64-bit version up and running soon.
Yet I need a solution for my current problem.
If this problem is because of Debian's 32-bit compatibility ... thing ... then I'd rather bug them than you.
I highly doubt that will be solved any time soon. Just use the 32 bit
version in your 64 bit os.

John
MERDE1337
Level 2
Level 2
Posts: 10
Joined: Mon Mar 22, 2010 7:15 am

Post by MERDE1337 »

John, do you mean installing the DEB for i386?
I don't think that is even permitted by the package manager.
John Drescher

No such file or directory

Post by John Drescher »

John, do you mean installing the DEB for i386?
I don't think that is even permitted by the package manager.
There should be an option to install the 32bit version since the 64
bit one does not work. I know fedora, ubuntu and gentoo all have this
option.

John
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: No such file or directory

Post by vitamin »

MERDE1337 wrote:If this problem is because of Debian's 32-bit compatibility ... thing .
Can your distro run any 32-bit programs at all? If it can't - that's the major problem with it.
MERDE1337
Level 2
Level 2
Posts: 10
Joined: Mon Mar 22, 2010 7:15 am

Post by MERDE1337 »

I can run 32-bit apps fine.
Before I got Wine 1.1.40, I was happily running 1.1.27.
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

I am using a Debian based distro, 64-bit.
I have instealled the 1.1.40 Lenny version of Wine, from your site.
Just noticed this. I assume by "Debian-based" you mean "not Debian." Using a package not meant for your distro could be the cause of the problem. If there are no packages specifically for your distro, compile Wine yourself.
MERDE1337
Level 2
Level 2
Posts: 10
Joined: Mon Mar 22, 2010 7:15 am

Post by MERDE1337 »

OK this may sound strange, but do /proc and /sys need to be mounted in order for Wine to install correctly?
Are there other operations during the installation of Wine, except the copying of files, itself?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

MERDE1337 wrote:OK this may sound strange, but do /proc and /sys need to be mounted in order for Wine to install correctly?
Those needed for pretty much anything on your system. Don't mess with things you don't know what they do.
MERDE1337 wrote:Are there other operations during the installation of Wine, except the copying of files, itself?
Look at the package. Some have extra steps. If you installing from source - nothing extra is done.

It looks to me that you intentionally breaking your system without complete understanding about what you doing and why. Just use a standard distro if you want things to work.
MERDE1337
Level 2
Level 2
Posts: 10
Joined: Mon Mar 22, 2010 7:15 am

Post by MERDE1337 »

I found the problem; it indeed was that /proc and /sys weren't mounted, and that the binfmt-support daemon wasn't started.
I am remastering the Debian LiveCD for my own usage - I am not "intentionally breaking" my system. And I do understand what I'm doing (to a fair degree). ;)

Now I'm left with this: Wine isn't invoked if the Win32 exe file has the executable permission set. Any ideas?
Locked