I just upgraded to 12.04, until they fix the "32-bit headers problem" you'll have to manually create the symbolic links for the "-dev" package behavior: ---- cd /usr/lib/i386-linux-gnu sudo ln -s libfreetype.so.6 libfreetype.so sudo ln -s libXau.so.6 libXau.so sudo ln -s libXcursor.so.1 libXcursor.so sudo ln -s libXi.so.6 libXi.so sudo ln -s libXext.so.6 libXext.so sudo ln -s libXxf86vm.so.1 libXxf86vm.so sudo ln -s libXrandr.so.2 libXrandr.so sudo ln -s libXrender.so.1 libXrender.so sudo ln -s libXinerama.so.1 libXinerama.so sudo ln -s libXcomposite.so.1 libXcomposite.so sudo ln -s libGLU.so.1 libGLU.so sudo ln -s libOSMesa.so.6 libOSMesa.so sudo ln -s libgnutls.so.26 libgnutls.so sudo ln -s libsane.so.1 libsane.so sudo ln -s libv4l1.so.0 libv4l1.so sudo ln -s libv4l2.so.0 libv4l2.so sudo ln -s liblcms.so.1 liblcms.so sudo ln -s libcapi20.so.3 libcapi20.so sudo ln -s libcups.so.2 libcups.so sudo ln -s libfontconfig.so.1 libfontconfig.so sudo ln -s libtiff.so.4 libtiff.so sudo ln -s libmpg123.so.0 libmpg123.so sudo ln -s libodbc.so.1 libodbc.so sudo ln -s libopenal.so.1 libopenal.so sudo ln -s libldap-2.4.so.2 libldap.so sudo ln -s libldap_r-2.4.so.2 libldap_r.so sudo ln -s liblber-2.4.so.2 liblber.so sudo ln -s libxml2.so.2 libxml2.so sudo ln -s libxslt.so.1 libxslt.so sudo ln -s libssl.so.0.9.8 libssl.so sudo ln -s libcrypto.so.0.9.8 libcrypto.so sudo ln -s libjpeg.so.8 libjpeg.so sudo ln -s mesa/libGL.so libGL.so cd /usr/lib/i386-linux-gnu/mesa sudo ln -s libGL.so.1 libGL.so cd /lib/i386-linux-gnu sudo ln -s libdbus-1.so.3 libdbus-1.so sudo ln -s libpng12.so.0 libpng.so ----
It is important to note that all the above assumes that you have all the packages you need loaded in ":i386" form. I have not included packages that won't coinstall on amd64 or haven't gotten to work (libhal, libgsm, gstreamer, libgphoto2). If your setup is anything like mine then you'll only need to add a couple more packages: sudo apt-get install libosmesa6:i386 libosmesa-dev libjpeg-turbo8-dev:i386
It's possible that I'm missing a few links, but I've tested the above configuration and it compiles and works for the few things I've opened so far (Firefox, Borderlands, and Diablo III).
Erich
PS: You may need to work around Bug #30410 (http://bugs.winehq.org/show_bug.cgi?id=30410), without that fix I couldn't play Borderlands.
PPS: To get rid of an annoying gnome-keyring message I had to resort to using getlibs (since gnome-keyring is not multi-arch): wget https://launchpad.net/~jcollins/+archive/jaminppa/+build/1482994/+files/getl... sudo dpkg -i getlibs_2.06-0ubuntu1~ppa2_all.deb getlibs -p gnome-keyring:i386 sudo mkdir /usr/lib/i386-linux-gnu/pkcs11; sudo ln -s /usr/lib32/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so
On Wed, Oct 17, 2012 at 2:21 PM, Joey Yandle dragon@dancingdragon.be wrote:
Is it possible to compile 32bit wine in 64bit ubuntu 12.10? I heard there were problems in 12.04 - were they resolved?
I've been happily building 32-bit wine on 64-bit ubuntu 12.04. I just had to make a debootstrap chroot:
https://help.ubuntu.com/community/DebootstrapChroot/
It only takes a few minutes to setup, given a fast internet connections.
No idea whether the multiarch conversion has progressed to where this is no longer necessary.
Joey