Don't know if this interests someone but I'll post my solution to get CB binary running under amd64 ubuntu .
this methode may also work with other amd64 distros.
the methode :
* download the latest codeblocks nightly build
* install it using : dpkj -i --force-architecture CB_XXXXXXX_revxxxx_Ubuntuxxxx.deb
* install libia32 (not sure if is really needed )
at this point if you try to run codeblocks you'll get an error message telling you that libcodeblocks.so.0 is missing !
* to fix this you only have to move libcodeblocks from /usr/lib to /usr/lib32 : mv /usr/lib/libcodeblocks.* /usr/lib32/
now codeblocks will refuse to run and if you type : ldd /usr/bin/codeblocks you will see some lines telling you that some libraries libwx_xxxx.so.xxx are not found, this is because codeblocks can't find 32bit versions of those libraries
in my case, all libraries named libwx_* was missing, those libraries are part of libwxgtk2 so the solution is to download the 32b version of libwxgtk and install it manually
use google to download libwxgtk2.6-0_2.6.1.2ubuntu2_i386.deb
NOTE : DON'T install this package with dpkj !!!! this may replace your 64b libraries and break applications using wxgtk !* intalling libwxgtk32:
- first step you have to install alien (a program that allows you to convert .deb to other package format)
to install alien just type : sudo apt-get install alien
- now create a temp directory (lets call it ~/temp) and move libwxgtk2.6-0_2.6.1.2ubuntu2_i386.deb to it
- move to this directory and type : alien -t libwxgtk2.6-0_2.6.1.2ubuntu2_i386.deb
- you will get a file called libwxgtk2.6-0-2.6.1.2ubuntu2.tgz
- type : tar -xvzf libwxgtk2.6-0-2.6.1.2ubuntu2.tgz
- you'll get a usr directory containing a lib directory and a share directory
- now type : sudo mv ~/temp/usr/lib/* /usr/lib32/
you're done
-