I've recently finished setting up WoW64 with the help of this guide [http://wiki.winehq.org/Wine64] and kevlarman on #winehackers. However, I'm running into a lot of trouble to install it system-wide. Git tree lives at ~/src/wine and my build dirs are ~/src/wine/build and ~/src/wine/build64. A first make install from build64 leads to this (as expected): adys(a)azura:~$ wineboot exec: 52: wine: not found Following it by a make install from build32 I get: adys(a)azura:~$ wineboot /usr/bin/wineserver: error while loading shared libraries: libwine.so.1: wrong ELF class: ELFCLASS32 And if I reinstall from build64 above it, I get: adys(a)azura:~$ wineboot /usr/bin/wine: error while loading shared libraries: libwine.so.1: wrong ELF class: ELFCLASS64 No improvement with a full clean and a reinstall starting by build32: adys(a)azura:~$ wineboot bash: /usr/bin/wineboot: No such file or directory ... adys(a)azura:~$ wineboot /usr/bin/wine: error while loading shared libraries: libwine.so.1: wrong ELF class: ELFCLASS64 The guide doesn't mention a system-wide setup. Am I doing something wrong here? -- J. Leclanche
Jerome Leclanche <adys.wh(a)gmail.com> writes:
The guide doesn't mention a system-wide setup. Am I doing something wrong here?
Most likely you are not using the correct libdirs. If your distro doesn't use lib and lib64 for 32/64-bit respectively, you need to specify the libdirs in configure. -- Alexandre Julliard julliard(a)winehq.org
Yep, that was the issue. --libdir=/usr/lib32 is needed for the 32bit install on ubuntu. Thanks a lot. This may be worth mentioning on the wiki. J. Leclanche On Sat, Feb 19, 2011 at 1:50 PM, Alexandre Julliard <julliard(a)winehq.org> wrote:
Jerome Leclanche <adys.wh(a)gmail.com> writes:
The guide doesn't mention a system-wide setup. Am I doing something wrong here?
Most likely you are not using the correct libdirs. If your distro doesn't use lib and lib64 for 32/64-bit respectively, you need to specify the libdirs in configure.
-- Alexandre Julliard julliard(a)winehq.org
participants (2)
-
Alexandre Julliard -
Jerome Leclanche