User forums > Help
Ubuntu reports relocation error
pir:
Somehow I have managed to mess-up my previously working version of CodeBlocks (from pasgui's repository). I have tried reinstalling several times but I keep getting the message:
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
What on earth have done? And how do I fix this?
(Using Ubuntu Lucid)
kencamargo:
--- Quote from: pir on August 28, 2010, 01:33:12 am ---Somehow I have managed to mess-up my previously working version of CodeBlocks (from pasgui's repository). I have tried reinstalling several times but I keep getting the message:
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
What on earth have done? And how do I fix this?
(Using Ubuntu Lucid)
--- End quote ---
I mentioned something like this on a message called "News on installing under Ubuntu". Since you are using pasgui's version, it probably means you are using Lucid's buit-in wx libs. An update yesterday to the wx libs made them incompatible with pasgui's version, but now they are compatible with the last nightly from jen's repo.
Ken
Jenna:
This means you can also use the binaries from our download-side, if you have 10.05 release and do not want to upgrade to a nightly.
pir:
--- Quote from: kencamargo on August 28, 2010, 04:23:36 am ---
--- Quote from: pir on August 28, 2010, 01:33:12 am ---Somehow I have managed to mess-up my previously working version of CodeBlocks (from pasgui's repository). I have tried reinstalling several times but I keep getting the message:
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
What on earth have done? And how do I fix this?
(Using Ubuntu Lucid)
--- End quote ---
I mentioned something like this on a message called "News on installing under Ubuntu". Since you are using pasgui's version, it probably means you are using Lucid's buit-in wx libs. An update yesterday to the wx libs made them incompatible with pasgui's version, but now they are compatible with the last nightly from jen's repo.
Ken
--- End quote ---
Ah! Thinking about it, I have had this sort of problem with wxWidgets versions on Windows. I didn't notice the wxWidgets upgrade go by. Seems like a compelling case for static linking. Not good that a third party (Ubuntu) can mess things up in this way.
Sorry, but some ambiguity here:
I don't want the nightly. (I was picking up the stuff from pasgui for historical reasons, since pre-version 10.05.)
i) Is the version from the CodeBlocks site stable - it is still tagged with caveats about being an unstable SVN version? (Also, an INSTALL would be appreciated for those of us who don't get beyond the Synaptic package manager :D Installing from deb files seems rather cumbersome - you have to do each one manually in reverse order of dependencies?)
ii) What exactly do I need to download from apt.wxwidgets.org? Just the lucid/libwxgtk lib? Or other stuff? Not clear on the dependencies. (Compelling case for static linking...)
Thinks: A no-brainer, just-works-out-of-the box install would be nice...
TIA
Peter
Jenna:
If I understand correctly what Ken has posted, you do not need the libs from apt.wxwidgets.org any longer.
The binaries on our site are built from the same sources as pasgui's.
The nightlies are normally not less stable, but may have some new features and/or bugs fixed.
You can install all packages with one command: dpkg -i <package1.deb> package2.deb> ... , order does not matter in this case.
Navigation
[0] Message Index
[#] Next page
Go to full version