Running Wine from a chroot build tree will not work

Questions about Wine on Linux
Locked
KenSharp
Level 4
Level 4
Posts: 103
Joined: Mon Jul 13, 2009 8:52 pm
Location: England
Contact:

Running Wine from a chroot build tree will not work

Post by KenSharp » Wed Sep 05, 2012 3:25 pm

http://wiki.winehq.org/WineOn64bit#head ... 674bd61b37 states
After all this you can run a Windows program from outside the chroot using your new build. For example:

/var/chroot/wine/wine notepad
But this will not work because /foo/bar/wine is a symlink.

Code: Select all

lrwxrwxrwx 1 root root 37 Sep  5 20:43 /home/test/chrootprecisei386/home/test/wine32/wine -> /home/test/wine-git/tools/winewrapper

Code: Select all

$ /home/test/chrootprecisei386/home/test/wine32/wine
bash: /home/test/chrootprecisei386/home/test/wine32/wine: No such file or directory
The also probably helps to explain this.

KenSharp
Level 4
Level 4
Posts: 103
Joined: Mon Jul 13, 2009 8:52 pm
Location: England
Contact:

Re: Running Wine from a chroot build tree will not work

Post by KenSharp » Fri Sep 07, 2012 11:12 am

Solution is glaringly obvious in hindsight.

Run make install and then /path/to/chroot/usr/local/bin/wine

Simples.

Locked