CodeLobster IDE
http://codelobster.com/forum/

The IDE not running on Centos 7
http://codelobster.com/forum/viewtopic.php?f=8&t=24900
Page 1 of 1

Author:  Adrian6677 [ Wed Oct 07, 2020 12:55 pm ]
Post subject:  The IDE not running on Centos 7

Hi,
I just installed the rpm download of the IDE and it was installed on my Centos 7 machine with no problems reported.
However, it refuses to start.
The IDE version is listed on the download page as for Fedora. I thought that it would be O.K. on Centos as both are flavours based on RedHat.
So, any ideas? Any work-around solutions?, please?
P.S. I can supply any other info if needed. Please just let me know.
Thank you.

Author:  ComputingFroggy [ Fri Oct 09, 2020 6:52 am ]
Post subject:  Re: The IDE not running on Centos 7

You should run it from the command line: you may get errors messages. ;-)

Author:  Adrian6677 [ Fri Oct 09, 2020 2:52 pm ]
Post subject:  Re: The IDE not running on Centos 7

Oh, yes.
Thank you.
It is complaining about two missing C++ libraries:
libstdc++.so.6: version `GLIBCXX_3.4.20' and 3.4.21
I would have thought that the installer would have picked this up and output some error message.
It did not and said voila, success.
My system is: centos-release-7-8.2003.0.el7.centos.x86_64
Running on 3.10.0-1127.19.1.el7.x86_64 kernel.

A quick search gives me the two libraries available for Centos 6 and 8, but not 7.
So, what next?
Any help would be greatly appreciated.
kind regards.

Author:  Admin [ Mon Oct 12, 2020 12:32 pm ]
Post subject:  Re: The IDE not running on Centos 7

Hi.

Looks like several libraries don't works on CentOS indeed.
We are researching the problem now.

Thanks,
Codelobster Team.

Author:  Guest [ Mon Oct 12, 2020 12:41 pm ]
Post subject:  Re: The IDE not running on Centos 7

Hi there,
Thank you.
Please let me know when you have the solution.
Kind regards.

Author:  Admin [ Mon Oct 19, 2020 7:38 am ]
Post subject:  Re: The IDE not running on Centos 7

Hi.

Could You, please, try new installation by the same URL:
http://codelobsteride.com/download/code ... x86_64.rpm

Thanks,
Codelobster Team.

Author:  Adrian6677 [ Mon Oct 26, 2020 10:27 pm ]
Post subject:  Re: The IDE not running on Centos 7

Hi there,
Thank you. I tried again but unfortunately no joy as yet.
It stiil complains about the two missing libraries.

NB.: by the way I did not get a notification about your update on the 19th.
Thanks again.

Author:  Admin [ Wed Oct 28, 2020 7:33 am ]
Post subject:  Re: The IDE not running on Centos 7

Hi.

Looks like Centos7 includes older version of gcc.
The following steps should help:

1. Update OS and install required tools
sudo yum -y update
sudo yum -y install gcc
sudo yum -y install wget
sudo yum -y install gcc-c++
sudo yum -y install bzip2

2. Download gcc
cd ~Downloads
wget http://ftp.mirrorservice.org/sites/sour ... 3.0.tar.gz
tar zxf gcc-7.3.0.tar.gz
cd gcc-7.3.0

3. Compile (this operation will take about 10-30 minutes)
./contrib/download_prerequisites
./configure --disable-multilib --enable-languages=c,c++
make -j 4
sudo make install

4. Replace
cd /usr/local/lib64
sudo cp libstdc++.so.6.0.24 /usr/lib64/
cd /usr/lib64/
sudo mv libstdc++.so.6 libstdc++.so.6.OLD
sudo ln -sf libstdc++.so.6.0.24 libstdc++.so.6

5. Checking
strings /usr/lib64/libstdc++.so.6 | grep 'GLIBCXX_3.4.2'

--- should return something like
---GLIBCXX_3.4.2
---GLIBCXX_3.4.20
---GLIBCXX_3.4.21
---GLIBCXX_3.4.22
---GLIBCXX_3.4.23
---GLIBCXX_3.4.24
---GLIBCXX_3.4.21
---GLIBCXX_3.4.24
---GLIBCXX_3.4.20
---GLIBCXX_3.4.2
---GLIBCXX_3.4.23
---GLIBCXX_3.4.22

6. OS reboot
sudo reboot

Regards,
Codelobster Team.

Author:  Adrian6677 [ Wed Oct 28, 2020 3:10 pm ]
Post subject:  Re: The IDE not running on Centos 7

Hi there,
I am pleased to report: Success.
It took about 2 hours to go through the make business.
My machine is rather old by current standards. [Pentium G620 @2.60GHZ, 4GiB memory, but a rather newish Samsung SSD 860 EVO drive.]

Anyway, now if I get a listing of the libraries it goes up to ver 24, exactly as you have given them in stage 5 of your instructions.
[previously it would go up to 19]

So, thank you once again for your patience and the time that you spent on this.
Kind regards.

Now, let's have a look...

Author:  Milaka23 [ Fri Jan 08, 2021 11:59 am ]
Post subject:  Re: The IDE not running on Centos 7

Thanks more for the tips! I finally fixed this error, I searched all over the Internet, but I finally found the answer on your forum! here apparently people really understand and are fully competent in these matters.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/