Code::Blocks Forums

User forums => Help => Topic started by: yaustar on August 05, 2007, 05:28:58 pm

Title: Ubuntu 6.06 - Nightly build 03 Aug 07 - Applications does not start
Post by: yaustar on August 05, 2007, 05:28:58 pm
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 ;) )
Title: Re: Ubuntu 6.06 - Nightly build 03 Aug 07 - Applications does not start
Post by: Ceniza 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.
Title: Re: Ubuntu 6.06 - Nightly build 03 Aug 07 - Applications does not start
Post by: yaustar 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:~$
Title: Re: Ubuntu 6.06 - Nightly build 03 Aug 07 - Applications does not start
Post by: Ceniza 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).
Title: Re: Ubuntu 6.06 - Nightly build 03 Aug 07 - Applications does not start
Post by: Auria 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.
Title: Re: Ubuntu 6.06 - Nightly build 03 Aug 07 - Applications does not start
Post by: yaustar 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.
Title: Re: Ubuntu 6.06 - Nightly build 03 Aug 07 - Applications does not start
Post by: yaustar on August 07, 2007, 10:42:10 am
Just completed compiling it last night and it works :). Thanks for the help.