CodeLobster IDE

Free cross-platform PHP IDE (HTML, PHP, CSS, JavaScript, Python code editor) with support Drupal, Joomla, Twig, JQuery, BackboneJS, LaravelJS, Node.js, CodeIgniter, CakePHP, Laravel, Magento, MeteorJS, Phalcon, Symfony, VueJS, WordPress, Yii
It is currently Thu Mar 28, 2024 8:25 am

All times are UTC




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: The IDE not running on Centos 7
PostPosted: Wed Oct 07, 2020 12:55 pm 
Offline

Joined: Wed Oct 07, 2020 12:47 pm
Posts: 4
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: The IDE not running on Centos 7
PostPosted: Fri Oct 09, 2020 6:52 am 
You should run it from the command line: you may get errors messages. ;-)


Report this post
Top
  
Reply with quote  
 Post subject: Re: The IDE not running on Centos 7
PostPosted: Fri Oct 09, 2020 2:52 pm 
Offline

Joined: Wed Oct 07, 2020 12:47 pm
Posts: 4
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: The IDE not running on Centos 7
PostPosted: Mon Oct 12, 2020 12:32 pm 
Offline
Site Admin

Joined: Wed Sep 12, 2007 2:18 pm
Posts: 3931
Hi.

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

Thanks,
Codelobster Team.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: The IDE not running on Centos 7
PostPosted: Mon Oct 12, 2020 12:41 pm 
Hi there,
Thank you.
Please let me know when you have the solution.
Kind regards.


Report this post
Top
  
Reply with quote  
 Post subject: Re: The IDE not running on Centos 7
PostPosted: Mon Oct 19, 2020 7:38 am 
Offline
Site Admin

Joined: Wed Sep 12, 2007 2:18 pm
Posts: 3931
Hi.

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

Thanks,
Codelobster Team.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: The IDE not running on Centos 7
PostPosted: Mon Oct 26, 2020 10:27 pm 
Offline

Joined: Wed Oct 07, 2020 12:47 pm
Posts: 4
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: The IDE not running on Centos 7
PostPosted: Wed Oct 28, 2020 7:33 am 
Offline
Site Admin

Joined: Wed Sep 12, 2007 2:18 pm
Posts: 3931
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: The IDE not running on Centos 7
PostPosted: Wed Oct 28, 2020 3:10 pm 
Offline

Joined: Wed Oct 07, 2020 12:47 pm
Posts: 4
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...


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: The IDE not running on Centos 7
PostPosted: Fri Jan 08, 2021 11:59 am 
Offline

Joined: Fri Jan 08, 2021 11:55 am
Posts: 1
Location: Los Angeles, California, US
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.

_________________
I love and appreciate freedom as the freedom to choose a job, place and time, and the people with whom they communicate, as well as the freedom to choose a way and style of life, and no one has the right to judge. Lb


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 89 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2016 phpBB Group