U
U
Urukhayy2018-10-17 11:02:22
linux
Urukhayy, 2018-10-17 11:02:22

Are two different libstdc++.so.6 possible on the same system?

The latest gcc7, g++7 and libstdc++.so.6 (GXX 24) are installed out of the box. On this system, you need to compile an application that should work on older systems with older libstdc++.so.6 (GXX 19). When you try to run this application on those systems, it accordingly gives an error that GXX 21 was not found. Installed gcc5 and g++5 next to gcc7, compiled the application through g++5 - the same error when starting. Most likely it's the newer libstdc++ library. When trying to put an older libstdc++5 next to a newer libstdc++7, a conflict appears. How to be? Compile on each platform separately?

Answer the question

In order to leave comments, you need to log in

7 answer(s)
C
CityCat4, 2018-10-17
@Urukhayy

Did you install it by batch or manually? If it's a package, conflict is inevitable - after all, yum relies on libstdc++ being the only one on the system. Most likely, you will have to install it manually and at the same time very carefully distribute them into folders - so that the installer does not accidentally crash a newer one.
And to work with it, you may have to specify additional parameters, or even file configure.

A
Alexander Chernykh, 2018-10-17
@sashkets

Not sure what OS you have. However, for gents, different versions of the same software are not a problem.

V
Vitaly Inchin ☢, 2015-07-28
@westdp

Mb so ?

D
Dmitry Fominykh, 2015-07-28
@Finorion

So? https://jsfiddle.net/2ste3vc0/

V
Vladimir Martyanov, 2015-07-28
@vilgeforce

if (element.class){console.log("element has class " + element.class);}
else{console.log("Element doesn't hava a class");}

S
Sergey Ivanov, 2015-07-28
@Writerim

It’s not easier for you to run all objects through a loop
.
Well, I wrote it on my knee, but I think the essence is clear

L
Leonid Smirnov, 2018-11-24
@SunyJun

Here is the answer to your question - https://www.pandoge.com/stati_i_sovety/proveryaem-...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question