Code::Blocks Forums

User forums => Help => Topic started by: hajes on April 11, 2008, 12:07:20 pm

Title: CodeBlocks 8.02 and openSUSE 10.3
Post by: hajes on April 11, 2008, 12:07:20 pm
Hi,

I have recently installed C::B v8.02 under openSUSE 10.3 without any problems (using the 1-Click Install capability at http://software.opensuse.org/search?baseproject=openSUSE%3A10.3&p=1&q=codeblocks with file codeblocks-8.02-0.suse1030.i586.rpm).

Unfortunately when I start C::B the IDE does not show up nor do I get an error message. If I start the program once again, C::B complains about an already running instance of C::B. Any idea?

Many thanks in advance,
Harald

Title: Re: CodeBlocks 8.02 and openSUSE 10.3
Post by: Jenna on April 11, 2008, 12:12:59 pm
Have you tried to start C::B from a console, to see if there are any error messages ?
Title: Re: CodeBlocks 8.02 and openSUSE 10.3
Post by: hajes on April 11, 2008, 01:17:58 pm
Jens wrote:

Quote
Have you tried to start C::B from a console, to see if there are any error messages ?

Yes I did. Same effect, no error message displayed.

Regards,
Harald
Title: Re: CodeBlocks 8.02 and openSUSE 10.3
Post by: vianto on April 12, 2008, 03:34:09 pm
I have the same problem, with CodeBlocks 8.02 and openSUSE 10.3: if trying to start Code::Blocks IDE by clicking the icon it won't start and nothing happens. But if starting through a console, I get this message:

codeblocks: relocation error: codeblocks: symbol _Z23wxHandleFatalExceptionsb, version WXU_2.8 not defined in file libwx_baseu-2.8.so.0 with link time reference

I've looked in the Internet, but could not find any useful reference... can anybody lend me a hand at this?
Title: Re: CodeBlocks 8.02 and openSUSE 10.3
Post by: Jenna on April 12, 2008, 03:54:29 pm
What's the subversion of wx2.8 ? C::B is normally compiled with and linked against 2.8.7.
Title: Re: CodeBlocks 8.02 and openSUSE 10.3
Post by: vianto on April 12, 2008, 04:17:33 pm
What I see installed in my case is wxGTK 2.8.6.0 and wxWidgets 2.8.7.1, as long as you refer to any of these.
Title: Re: CodeBlocks 8.02 and openSUSE 10.3
Post by: TheTuxKeeper on April 12, 2008, 11:49:46 pm
The packages are linked against the wxGTK packages in the base repository. In the case of 10.3 it's 2.8.4 and i tested codeblocks with this packages and it starts (haven't done more tests, i don't use 10.3 but factory, the dev version of openSUSE)
Title: Re: CodeBlocks 8.02 and openSUSE 10.3
Post by: thoughtcrime on April 13, 2008, 01:03:01 am
i am also trying to get codeblocks running under suse 10.3

when i downloaded it from the official site, i got the same error as vianto:

Quote
codeblocks: relocation error: codeblocks: symbol _Z23wxHandleFatalExceptionsb, version WXU_2.8 not defined in file libwx_baseu-2.8.so.0 with link time reference

then i tried to build it from source. After I compiled and installed it (with su + make install of course)
it gives me that error when i try to run it:
Quote
codeblocks: error while loading shared libraries: libcodeblocks.so.0: cannot open shared object file: No such file or directory


where can i get that libcodeblocks.so.0 file? and where do i have to put it?
Title: Re: CodeBlocks 8.02 and openSUSE 10.3
Post by: TheTuxKeeper on April 13, 2008, 10:14:40 am
Can you give more details. What wxGTK version do you use?
You can get the full version with this command:
Code
wx-config --version-full

To solve the "libcodeblocks.so.0 not found" error try to run this as root:
Code
ldconfig
Title: Re: CodeBlocks 8.02 and openSUSE 10.3
Post by: thoughtcrime on April 13, 2008, 10:21:27 am
Can you give more details. What wxGTK version do you use?
You can get the full version with this command:
Code
wx-config --version-full

To solve the "libcodeblocks.so.0 not found" error try to run this as root:
Code
ldconfig

My wxGTK Version is 2.8.7.1.

Yayy i did ldconfig as you said and now its working :D:D:D thank you very much!
Title: Re: CodeBlocks 8.02 and openSUSE 10.3
Post by: vianto on April 13, 2008, 04:05:09 pm
too difficult for me.... cannot install wxgtk2.8.4, not that good at solving dependencies and things like that. I'd rather go back to emacs, thank you anyway everyone.
Title: Re: CodeBlocks 8.02 and openSUSE 10.3
Post by: thoughtcrime on April 13, 2008, 04:20:24 pm
too difficult for me.... cannot install wxgtk2.8.4, not that good at solving dependencies and things like that. I'd rather go back to emacs, thank you anyway everyone.

you can install wxgtk with yast :)