Author Topic: Ubuntu 6.06 - Nightly build 03 Aug 07 - Applications does not start  (Read 4782 times)

Offline yaustar

  • Multiple posting newcomer
  • *
  • Posts: 20
I installed Code::Blocks nightly build using the instructions on the Wiki. When I launch Code::Blocks, I see "Starting Code::Blocks IDE" in the Window manager but it disappears after a few seconds. Any ideas?

(Extra note: I am a new Linux user so go easy on me ;) )

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: Ubuntu 6.06 - Nightly build 03 Aug 07 - Applications does not start
« Reply #1 on: August 05, 2007, 06:34:05 pm »
Try to launch it from a console. The name of the executable is codeblocks.

If it says that it cannot find libcodeblocks.so, run sudo ldconfig and try again. If it shows something else, copy and paste it here.

Offline yaustar

  • Multiple posting newcomer
  • *
  • Posts: 20
Re: Ubuntu 6.06 - Nightly build 03 Aug 07 - Applications does not start
« Reply #2 on: August 05, 2007, 11:36:39 pm »
This is what I get:
Code
yaustar@yau-ulaptop:~$ codeblocks
codeblocks: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4' not found (required by codeblocks)
codeblocks: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4' not found (required by /usr/lib/libcodeblocks.so.0)
yaustar@yau-ulaptop:~$ sudo ldconfig
yaustar@yau-ulaptop:~$ codeblocks
codeblocks: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4' not found (required by codeblocks)
codeblocks: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4' not found (required by /usr/lib/libcodeblocks.so.0)
yaustar@yau-ulaptop:~$

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: Ubuntu 6.06 - Nightly build 03 Aug 07 - Applications does not start
« Reply #3 on: August 06, 2007, 12:31:19 am »
If you're using a binary version, it may require a more recent version of libc, a version your Ubuntu doesn't come with.

One thing you could try is to compile Code::Blocks from source code. The steps to do that are in the Wiki.

Another thing you could try is to upgrade your Ubuntu distribution to Edgy or Feisty, or try running sudo apt-get dist-upgrade (be sure to run sudo apt-get update first).

Offline Auria

  • Almost regular
  • **
  • Posts: 152
Re: Ubuntu 6.06 - Nightly build 03 Aug 07 - Applications does not start
« Reply #4 on: August 06, 2007, 01:20:43 am »
Another thing you could try is to upgrade your Ubuntu distribution to Edgy or Feisty, or try running sudo apt-get dist-upgrade (be sure to run sudo apt-get update first).

... or install from CD as dist-upgrade breaks systems very often.

Offline yaustar

  • Multiple posting newcomer
  • *
  • Posts: 20
Re: Ubuntu 6.06 - Nightly build 03 Aug 07 - Applications does not start
« Reply #5 on: August 06, 2007, 10:30:42 am »
In that case, how do I uninstall the binary version from my system?

Edit: Cancel that, I managed to do it via Synaptic. Currently trying to compile this from source.
« Last Edit: August 07, 2007, 01:55:35 am by yaustar »

Offline yaustar

  • Multiple posting newcomer
  • *
  • Posts: 20
Re: Ubuntu 6.06 - Nightly build 03 Aug 07 - Applications does not start
« Reply #6 on: August 07, 2007, 10:42:10 am »
Just completed compiling it last night and it works :). Thanks for the help.