Hey, I’ve been using 0061 on Ubuntu 9.10 for a while, everything has been great. However sometime last week there were new versions of both codeblocks (8.02svn6261) and wx (2.8.11.0-0). I usually ignore updates to these packages to avoid problems like this, but I figured it is summer and I can finally upgrade my system.
Now I’m getting the good old runtime error when I try to start codeblocks:
codeblocks: relocation error: /usr/lib/libcodeblocks.so.0: symbol _Z18wxSafeConvertWX2MBPKw, version WXU_2.8 not defined in file libwx_baseu-2.8.so.0 with link time reference
synaptic says codeblocks depends on wx versions 2.8.10.1 or higher. I’ve tried forcing the version of libwxbase to 2.8.10.1 but it wants to uninstall codeblocks when I try to do that. then when I reinstall codeblocks, it upgrades wx. If I lock the version of wx, it says it is incompatible, but the version should be fine!
I’ve also tried to downgrade codeblocks to a previous version with no success. It tells me I have broken packages when I try to force a previous version.
Is anyone using the aforementioned package versions without any problems? I even tried removing everything, including the repositories and re-running the install_codeblocks.sh script. No luck!
Okay, so maybe I just didn’t try hard enough in synaptic, I never use it anyway. I found out that I can force install from the command line using apt-get like this:
I actually just upgraded to Ubuntu 10.4 on my 2nd machine and OF is working great there so now I’m going to do it with my other one instead of continuing to battle against this.
Another way to get this working is to remove the wxwidgets repository completely and use the ubuntu version. then you can upgrade to the latest svn of codeblocks. I have it working on 9.10 and 10.04