same problem!
I use Ubuntu 9.10
mike@myHome:~$ codeblocks
codeblocks: relocation error: /usr/lib/libcodeblocks.so.0: symbol _Z18wxSafeConvertWX2MBPKw, version WXU_2.8.2 not defined in file libwx_baseu-2.8.so.0 with link time reference
but if I run codeblocks with -d gui starts, but build (F5) fails with same error message
mike@myHome:~$ codeblocks -d
i got my code::blocks from nightly build (in this http://apt.jenslody.de/ (http://apt.jenslody.de/) debian repository)
I also have had problems to install Codeblocks on Ubuntu (Karmic).
I have tried to use Jens packets without success. So I switched to "http://lgp203.free.fr/ubuntu/".
Here are my the steps to fix all the problems:
Remove all 'old' packages:
sudo apt-get remove build-essential gdb
sudo apt-get remove libwxgtk2.8-0 libwxgtk2.8-dev wx2.8-headers wx2.8-doc
sudo apt-get remove libwxgtk2.6-0 libwxgtk2.6-dev wx2.6-headers wx2.6-doc
sudo apt-get remove wx-common
sudo apt-get autoremove
Use synaptic, search for wx* lib's and remove them.
Insert the "lgp203.free.fr" - Repository into sources.list.
Start an editor:
sudo nano /etc/apt/sources.list
Insert following lines, save and exit.
##CodeBlocks
deb http://lgp203.free.fr/ubuntu karmic universe
deb-src http://lgp203.free.fr/ubuntu karmic universe
deb http://lgp203.free.fr/ubuntu karmic unstable
deb-src http://lgp203.free.fr/ubuntu karmic unstable
Update list.
Import key for the repository.
wget -q http://lgp203.free.fr/public.key -O- | sudo apt-key add -
Again some cleanups.
Install everything.
sudo apt-get install build-essential
sudo apt-get install gdb
sudo apt-get install libcodeblocks0 codeblocks libwxsmithlib0 codeblocks-contrib
sudo apt-get install libwxgtk2.8-0 libwxgtk2.8-dev wx2.8-headers wx-common
Now, Codeblocks should start.
After these steps, everything works fine....
Regards
Andreas