This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: I have installed the GLIBCXX_3.4.21 but it always reports libstdc++.so.6(GLIBCXX_3.4.21)(64bit) is needed during the RPM install


Thanks very much for the response!

Now I'm working on an open source project which needs the gcc version > 4.9 on Centos7.5, I need to make RPM package for the open source project.
When I install the RPM package, it always reports error " libstdc++.so.6(GLIBCXX_3.4.21)(64bit) is needed ", I think only I install the gcc>4.9 with yum-packaged way, the error can be removed.

Thanks
Darcy

-----Original Message-----
From: Jonathan Wakely <jwakely.gcc@gmail.com> 
Sent: Wednesday, October 10, 2018 9:55 PM
To: Ling, Darcy (NSB - CN/Qingdao) <darcy.ling@nokia-sbell.com>
Cc: xry111@mengyan1223.wang; gcc-help <gcc-help@gcc.gnu.org>
Subject: Re: I have installed the GLIBCXX_3.4.21 but it always reports libstdc++.so.6(GLIBCXX_3.4.21)(64bit) is needed during the RPM install

On Wed, 10 Oct 2018 at 14:05, Ling, Darcy (NSB - CN/Qingdao) <darcy.ling@nokia-sbell.com> wrote:
>
> Thanks very much for the response!
> Yes, the libstdc++.so.6.0.22 is not installed by rpm, when upgrade the gcc from 4.8.5 to 6.2.0, I use `make, make install` to upgrade the new version.

Then you've caused this problem by trying to mix self-installed software and RPM-packaged software (that presumably isn't from CentOS but some other, incompatible repository).

> Whether there is way to install gcc > 4.9 for Centos 7.5?

You can install devtoolset-7-gcc-c++ from the Software Collections, but that won't provide a new libstdc++.so and so won't satisfy the dependency either.

Why are you trying to install non-CentOS RPMs on CentOS?

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]