News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Code::Blocks will not start under Mandriva 2010.1

Started by DrATEasy, November 17, 2010, 02:47:20 AM

Previous topic - Next topic

DrATEasy

I installed Code::Blocks 8.02 or codeblocks-10.05-0.mdv2010.i586.rpm and after I start from the application menu I get Staring Code::Blocks... and it close. When I do it from the terminal I get:

[.. /]$ codeblocks
codeblocks: symbol lookup error: codeblocks: undefined symbol: _ZTI14wxFlatNotebook

I checked and verified that libwxgtku2.8 and wxgtk2.8 are installed.

Please help...

Tx,
Ron


oBFusCATed

You are mixing 8.02 and 10.05, remove all versions of C::B and install only 10.05.

wxFlatNotebook was removed in 10.05.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Jenna

It still exists, but as contrib-item in wxSmith and is still used by some plugins as far as I know (lib_finder ?).
Nevertheless it has been moved to a different place and mixing shared libraries can not work !

DrATEasy

I uninstalled 8.02 and installed 10.05. The setup stops in the middle and bail out with no message?? I looks at the /usr/share and there is no codeblocks folder. Any idea?

Tx,
Ron

Jenna

I never used mandriva, but you should also look in /usr/lib for libcodeblocks* libwxsmith* and in /usr/lib/codeblocks if it exists.

DrATEasy

Thanks for your help.

I managed to delete these files and reinstall. Now I get the splash screen and then it exit:

> 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

If I run it with -d it opens. What am I missing?

Tx,
Ron

Jenna


DrATEasy


DrATEasy

I have 2.8.10 as far as I can tell from the software management app.

Tx,
Ron

DrATEasy

Success!

I managed to fix it by uninstalling
  wxgtk2.8
which uninstall everything (including codeblocks), and then downloading (from http://www.rpmfind.net/) and installing the following:
  wxgtk2.8-2.8.10-6mdv2010.1.i586.rpm
  libwxgtku2.8-2.8.10-6mdv2010.1.i586.rpm
  libcodeblocks0-10.05-1mdv2010.1.i586.rpm
  codeblocks-10.05-1mdv2010.1.i586.rpm

Yay!

:D