Code::Blocks Forums

User forums => Help => Topic started by: DrATEasy on November 17, 2010, 02:47:20 am

Title: Code::Blocks will not start under Mandriva 2010.1
Post by: DrATEasy 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

 
Title: Re: Code::Blocks will not start under Mandriva 2010.1
Post by: oBFusCATed 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.
Title: Re: Code::Blocks will not start under Mandriva 2010.1
Post by: Jenna 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 !
Title: Re: Code::Blocks will not start under Mandriva 2010.1
Post by: DrATEasy 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
Title: Re: Code::Blocks will not start under Mandriva 2010.1
Post by: Jenna 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.
Title: Re: Code::Blocks will not start under Mandriva 2010.1
Post by: DrATEasy 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
Title: Re: Code::Blocks will not start under Mandriva 2010.1
Post by: Jenna on November 17, 2010, 09:01:17 pm
You have incompatible wxwidgets libs.
Title: Re: Code::Blocks will not start under Mandriva 2010.1
Post by: DrATEasy on November 17, 2010, 09:28:31 pm
So what next?

Tx,
Ron
Title: Re: Code::Blocks will not start under Mandriva 2010.1
Post by: DrATEasy 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
Title: Re: Code::Blocks will not start under Mandriva 2010.1
Post by: DrATEasy 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