Running codelite results in error messages.

CodeLite installation/troubleshooting forum
ThaMe90
CodeLite Curious
Posts: 1
Joined: Wed Aug 24, 2011 11:36 am
Genuine User: Yes
IDE Question: C++
Location: Somewhere, over the rainbow
Contact:

Running codelite results in error messages.

Post by ThaMe90 »

Hello all,

I've installed codelite on a RHEL6 system, but when I try to run it, it will fail and specify an error message.
When run from terminal:

Code: Select all

[root@Server ~]# codelite
codelite: /usr/lib/libstdc++.so.6: version 'GLIBCXX_3.4.15' not found (required by codelite)
codelite: /usr/lib/libstdc++.so.6: version 'GLIBCXX_3.4.15' not found (required by /usr/lib/codelite/libpluginu.so)
codelite: /usr/lib/libstdc++.so.6: version 'GLIBCXX_3.4.15' not found (required by /usr/lib/codelite/libcodeliteu.so)
(Running from start-menu yields no result at all...)

However, I don't know how to solve this issue... :< (Am a bit of a n00b when it comes down to this type of issues).

I've Googled the issue, but all the answers I got from there haven't resulted in a successful fix.

Thanks in advance,
-ThaMe90
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Running codelite results in error messages.

Post by DavidGH »

Hi,

I'm guessing that you've installed a CodeLite package from somewhere, and that it's either designed for a different distro e.g. fedora, or it's intended for a different RHEL version.

If so, there's not likely to be a good solution. Even if you install the correct glibc (which will risk causing problems elsewhere) you'll probably hit several more similar failed dependencies.

I suggest that you remove the package and build CodeLite from source. It's not difficult.

Regards,

David
emadima
CodeLite Curious
Posts: 9
Joined: Thu Apr 21, 2011 4:02 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Running codelite results in error messages.

Post by emadima »

Hi guys,
I have this problem too...

I use Ubuntu 10.04 and I downloaded "codelite_3.0.0.5041-ubuntu0_i386.deb" package
and I have the same message about GLIBCXX-3.4.14 not found.

(Previous codelite version was successfully working)

Any advice is appreciated,

Thanks,
E.
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Running codelite results in error messages.

Post by eranif »

Your codelite deb package should match to your distro - if it does not match your distro then you are in the hands of luck for it to run properly

Like David mentioned: building codelite is not a hard task. Pretty straight forward to be honest

Here is a complete HOWTO:
viewtopic.php?f=3&t=1034#p4612

Eran
Make sure you have read the HOW TO POST thread
emadima
CodeLite Curious
Posts: 9
Joined: Thu Apr 21, 2011 4:02 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Running codelite results in error messages.

Post by emadima »

ok,
I did it,


thanks
E.
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Running codelite results in error messages.

Post by DavidGH »

Hi,
I use Ubuntu 10.04 and I downloaded "codelite_3.0.0.5041-ubuntu0_i386.deb" package
Just to mention, you could also have used the CodeLite repository (which currently contains karmic-to-natty packages) to install the correct version.

Regards,

David
Post Reply