Author Topic: CodeBlocks 8.02 and openSUSE 10.3  (Read 6830 times)

hajes

  • Guest
CodeBlocks 8.02 and openSUSE 10.3
« 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


Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: CodeBlocks 8.02 and openSUSE 10.3
« Reply #1 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 ?

hajes

  • Guest
Re: CodeBlocks 8.02 and openSUSE 10.3
« Reply #2 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

Offline vianto

  • Single posting newcomer
  • *
  • Posts: 3
Re: CodeBlocks 8.02 and openSUSE 10.3
« Reply #3 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?

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: CodeBlocks 8.02 and openSUSE 10.3
« Reply #4 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.

Offline vianto

  • Single posting newcomer
  • *
  • Posts: 3
Re: CodeBlocks 8.02 and openSUSE 10.3
« Reply #5 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.

Offline TheTuxKeeper

  • Regular
  • ***
  • Posts: 293
  • daniel2000
Re: CodeBlocks 8.02 and openSUSE 10.3
« Reply #6 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)
Nightly builds for openSUSE

Offline thoughtcrime

  • Single posting newcomer
  • *
  • Posts: 8
Re: CodeBlocks 8.02 and openSUSE 10.3
« Reply #7 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?

Offline TheTuxKeeper

  • Regular
  • ***
  • Posts: 293
  • daniel2000
Re: CodeBlocks 8.02 and openSUSE 10.3
« Reply #8 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
Nightly builds for openSUSE

Offline thoughtcrime

  • Single posting newcomer
  • *
  • Posts: 8
Re: CodeBlocks 8.02 and openSUSE 10.3
« Reply #9 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!

Offline vianto

  • Single posting newcomer
  • *
  • Posts: 3
Re: CodeBlocks 8.02 and openSUSE 10.3
« Reply #10 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.

Offline thoughtcrime

  • Single posting newcomer
  • *
  • Posts: 8
Re: CodeBlocks 8.02 and openSUSE 10.3
« Reply #11 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 :)