Author Topic: Code::Blocks will not start under Mandriva 2010.1  (Read 8282 times)

Offline DrATEasy

  • Single posting newcomer
  • *
  • Posts: 6
Code::Blocks will not start under Mandriva 2010.1
« on: November 17, 2010, 02:47:20 am »
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

 

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Code::Blocks will not start under Mandriva 2010.1
« Reply #1 on: November 17, 2010, 08:55:18 am »
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!]

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Code::Blocks will not start under Mandriva 2010.1
« Reply #2 on: November 17, 2010, 10:30:15 am »
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 !

Offline DrATEasy

  • Single posting newcomer
  • *
  • Posts: 6
Re: Code::Blocks will not start under Mandriva 2010.1
« Reply #3 on: November 17, 2010, 05:44:15 pm »
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

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Code::Blocks will not start under Mandriva 2010.1
« Reply #4 on: November 17, 2010, 07:41:09 pm »
I never used mandriva, but you should also look in /usr/lib for libcodeblocks* libwxsmith* and in /usr/lib/codeblocks if it exists.

Offline DrATEasy

  • Single posting newcomer
  • *
  • Posts: 6
Re: Code::Blocks will not start under Mandriva 2010.1
« Reply #5 on: November 17, 2010, 08:49:51 pm »
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

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Code::Blocks will not start under Mandriva 2010.1
« Reply #6 on: November 17, 2010, 09:01:17 pm »
You have incompatible wxwidgets libs.

Offline DrATEasy

  • Single posting newcomer
  • *
  • Posts: 6
Re: Code::Blocks will not start under Mandriva 2010.1
« Reply #7 on: November 17, 2010, 09:28:31 pm »
So what next?

Tx,
Ron

Offline DrATEasy

  • Single posting newcomer
  • *
  • Posts: 6
Re: Code::Blocks will not start under Mandriva 2010.1
« Reply #8 on: November 17, 2010, 09:33:36 pm »
I have 2.8.10 as far as I can tell from the software management app.

Tx,
Ron

Offline DrATEasy

  • Single posting newcomer
  • *
  • Posts: 6
Re: Code::Blocks will not start under Mandriva 2010.1
« Reply #9 on: November 19, 2010, 07:50:10 pm »
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