Running Wine from a chroot build tree will not work

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

Running Wine from a chroot build tree will not work

Post by KenSharp »

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: 120
Joined: Mon Jul 13, 2009 8:52 pm

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

Post by KenSharp »

Solution is glaringly obvious in hindsight.

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

Simples.
Locked