I need GLIBCXX_3.4.21 for a third party library (Mageia 5)

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

I need GLIBCXX_3.4.21 for a third party library (Mageia 5)

Postby DiBosco » Jan 19th, '17, 13:19

Folks,

I am trying to get a debugger going and I get an error message as follows:
Code: Select all
Cannot load target driver DLL /home/robertw/.rowley_associates_limited/CrossWorks for MSP430/v3/packages/targets/msp430/MSP430_v3.so : /lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /home/robertw/.rowley_associates_limited/CrossWorks for MSP430/v3/packages/targets/msp430/MSP430_v3.so)


I then found I do not have this version of GLIBCXX on my computer:

Code: Select all
strings /usr/lib/libstdc++.so.6 | grep GLIBC
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_3.4.17
GLIBCXX_3.4.18
GLIBCXX_3.4.19
GLIBCXX_3.4.20
GLIBC_2.3
GLIBC_2.0
GLIBC_2.4
GLIBC_2.18
GLIBC_2.3.4
GLIBC_2.1
GLIBC_2.17
GLIBC_2.1.3
GLIBC_2.3.2
GLIBC_2.2
GLIBCXX_DEBUG_MESSAGE_LENGTH


It looks like someone else asked exactly the same question and got no reply:

viewtopic.php?f=8&t=11180

I found this page:

http://rpm.pbone.net/index.php3/stat/4/ ... 4.rpm.html

There is a version of GLIBCXX_3.4.21 in Caludron. Could I possibly just install that library? I don't know whether that might bork everything else.

Would be very grateful for some pointers on this!
DiBosco
 
Posts: 331
Joined: Aug 31st, '11, 10:22

Re: I need GLIBCXX_3.4.21 for a third party library (Mageia

Postby DiBosco » Jan 19th, '17, 14:45

Might have, maybe, possibly solved this.

Extracted the Cauldron RPM with GLIBCXX_3.4.21, extracted it and put it /usr/lib and /usr/lib64 (also creating the appropriate symbolic links from libstdc++.so.6 to libstdc++.so.6.0.21) which made Crossworks identify it and update the software.

Still doesn't connect to the microprocessor, but that could be a problem that has nothing to do with libraries.
DiBosco
 
Posts: 331
Joined: Aug 31st, '11, 10:22

Re: I need GLIBCXX_3.4.21 for a third party library (Mageia

Postby DiBosco » Jan 20th, '17, 14:20

This is giving me mixed results. Although it makes my debugger talk to the development environment, it doesn't play nicely at all.

I don't suppose there is a 3.4.21 specifically for M5 that I can't find?
DiBosco
 
Posts: 331
Joined: Aug 31st, '11, 10:22

Re: I need GLIBCXX_3.4.21 for a third party library (Mageia

Postby doktor5000 » Jan 21st, '17, 09:58

No there's not, and what you did with the cauldron library is the best receipt to shoot yourself in the foot.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: I need GLIBCXX_3.4.21 for a third party library (Mageia

Postby DiBosco » Jan 21st, '17, 15:57

OK, thanks!

As a matter of interest, why might it cause problems? the older versions are still there.

And...recipe I think you mean? :)

Ooooh, and...is there any way to download the source code and compile it? I looked here:

https://www.gnu.org/software/libc/sources.html

And downloaded the latest version, but it doesn't seem like the right version number at all.
DiBosco
 
Posts: 331
Joined: Aug 31st, '11, 10:22

Re: I need GLIBCXX_3.4.21 for a third party library (Mageia

Postby wintpe » Jan 30th, '17, 10:39

we get this sort of problem in the redhat world all the time.
basically, the app you are trying has been compiled and released against a version of Linux thats
cutting edge, only just out of beta.
The solution is run it on the platform it was compiled against or run a slightly older version of the app, or get the software company to compile it against
the version of libraries you have available on your platform.
This is kind of inline with people on windows XP wanting direcx11, well you cant have it, upgrade to the version of platform that
the software was built for, or put up with an older version.
The people who develop software should be forced to used only enterprise versions, and compile against that, then they are more likly to
run on newer releases, as linux offer's very good backward compatibility, but its not a time machine, and and older release cant
supply libraries that might be released in the future, and its not always realistic to backport all future libraries onto
an older platform, as those future libraries also depend on other stuff, and its a matter of where you draw the line,
you either have a system thats constantly updating like arch linux, or one like mageia, fedora, redhat, centos, that has releases.
regards peter
Redhat 6 Certified Engineer (RHCE)
Sometimes my posts will sound short, or snappy, however its realy not my intention to offend, so accept my apologies in advance.
wintpe
 
Posts: 1204
Joined: May 22nd, '11, 17:08
Location: Rayleigh,, Essex , UK

Re: I need GLIBCXX_3.4.21 for a third party library (Mageia

Postby DiBosco » Jan 30th, '17, 16:09

Thank for the reply, Peter.

I guess what you're saying is that GLIBC is a library used by a whole host of applications and infrastructure and if you change it, it will adversely affect things because different releases of the library work in a different way, or maybe their API changes. The problem is that this debugger driver (it's not really an app per se) is tested on up-to-date Ubuntu and I am assuming they use a cutting edge version of it. I believe, or rather assume, Mageia 6 will use 3.4.21 and that's not far off being released.

It's a tricky one, because I am very, very lucky a Linux version of the debugger software and IDE even exists, there's no way they're going to test [and modify] for other distributions. The guys who write the IDE said "This is an area where windows wins". My response was "Which is a bit like saying getting shot in the head wins over being stripped naked, smeared in jam and having killer ants slowly sting you to death.".

While that may be somewhat hyperbolic, it is, on the one hand essentially how I feel, yet I kind of understand where he's coming from. They can't release version for all versions of Linux. I certainly can't force them to test it on anything other than what they are willing/happy to test it on. I'm willing to bet I'm about the only person in the whole world using their IDE on Mageia. I'm on no position whatsoever to dictate to them.

Unfortunately, there is simply not one single open source high-class development environment for embedded systems that runs on Linux. They're all Eclipse and only work on ARMs, not other embedded micros. Eclipse is so bad I'd almost rather use a different package on
Windows. So, I'm "stuck" with using an IDE that is only tested on Ubuntu, but is otherwise an absolutely brilliant application that means I can work on Linux for 99.5% of my working life. And that is worth a LOT.

So, for the moment, I'm using an older version of the IDE that does use an older GLIBC. Once Mageia 6 appears, I suspect I can use the newer version of the IDE.
DiBosco
 
Posts: 331
Joined: Aug 31st, '11, 10:22

Re: I need GLIBCXX_3.4.21 for a third party library (Mageia

Postby doktor5000 » Jan 30th, '17, 19:50

DiBosco wrote:I guess what you're saying is that GLIBC is a library used by a whole host of applications and infrastructure

glibc is _the_ GNU C library, one of the cornerstones of all linux systems. See https://www.gnu.org/software/libc/
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: I need GLIBCXX_3.4.21 for a third party library (Mageia

Postby DiBosco » Jan 30th, '17, 19:56

doktor5000 wrote:
DiBosco wrote:I guess what you're saying is that GLIBC is a library used by a whole host of applications and infrastructure

glibc is _the_ GNU C library, one of the cornerstones of all linux systems. See https://www.gnu.org/software/libc/


Yeah, that's a link to the same site that I posted earlier. Interesting that it says it's fully backwards compatible. With that in mind, I'm not really clear why using M6's 3.4.21 would cause a problem.
DiBosco
 
Posts: 331
Joined: Aug 31st, '11, 10:22

Re: I need GLIBCXX_3.4.21 for a third party library (Mageia

Postby doktor5000 » Jan 30th, '17, 20:01

Well, you posted the link but yet you still don't seem to have a clue what it's required for or what consequences your replacement might have.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: I need GLIBCXX_3.4.21 for a third party library (Mageia

Postby DiBosco » Jan 30th, '17, 20:03

doktor5000 wrote:Well, you posted the link but yet you still don't seem to have a clue what it's required for or what consequences your replacement might have.


Well, exactly! Which is why I am asking you what the consequences would actually be! I'm trying to learn, teach me.

Everyone should be encouraged to learn, not made to feel stupid because they don't understand.
DiBosco
 
Posts: 331
Joined: Aug 31st, '11, 10:22

Re: I need GLIBCXX_3.4.21 for a third party library (Mageia

Postby wintpe » Jan 31st, '17, 11:54

imagine this, ive got an electronic circuit, and one of the power transistors has failed.
Ive found something newer , and Ive replaced it, it basicly meets the same specs, but now the transistors that drive it
keep failing.
after a long trail and error, I find a realy old original and put that back, and now the circuit is stable, and the driver transistors no longer fail.

what im saying is these newer versions of the libraries have changes that although not intended to cause issues, nevertheless have not been tested
While most software will be fine with them, you might start noticing the odd occasion that firefox crashes for unknown reasons.

you start complaining or filing bugs against the mageia DEV that theres an issue with firefox, but no one else is seeing it.
you get frustrated with it, but the underlying cause is that you have added an updated library, that no one else has tested.

I think this is what we are saying.

regards peter
Redhat 6 Certified Engineer (RHCE)
Sometimes my posts will sound short, or snappy, however its realy not my intention to offend, so accept my apologies in advance.
wintpe
 
Posts: 1204
Joined: May 22nd, '11, 17:08
Location: Rayleigh,, Essex , UK

Re: I need GLIBCXX_3.4.21 for a third party library (Mageia

Postby DiBosco » Jan 31st, '17, 15:28

Thank for the analogy, Peter. Having gone away and tried to read a bit more about it, the analogy to me would seem more when a manufacturer's made a die change to an IC, because this is supposed to be backward compatible. I think your analogy would be more akin to trying a different set of C library functions. This is the same library/IC, as it's backward compatible.

As for it being untested, it's been in use with Ubuntu for a while, so I would assume there has been a fair deal of testing done on it. I would think there's a been a whole load of testing done on Mageia 6 STA1 too. My partner's using it [M6 STA1] on her laptop and has no issues.

So, I would reckon that from your description, I run a small risk of the occasional crash on the odd application rather than it being the catastrophic failure which our lugubrious medic seemed to be suggesting.
DiBosco
 
Posts: 331
Joined: Aug 31st, '11, 10:22

Re: I need GLIBCXX_3.4.21 for a third party library (Mageia

Postby doktor5000 » Jan 31st, '17, 20:13

DiBosco wrote:I run a small risk of the occasional crash on the odd application rather than it being the catastrophic failure which our lugubrious medic seemed to be suggesting.

Seems to me more like your allegation is a catastrophic failure, as I've never mentioned something like that. Nice attitude, by the way ... which is also why my reply was
doktor5000 wrote:what you did with the cauldron library is the best receipt to shoot yourself in the foot.

EOT for me.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: I need GLIBCXX_3.4.21 for a third party library (Mageia

Postby DiBosco » Jan 31st, '17, 20:26

Maybe it's a language barrier thing, but shooting yourself in the foot is what a native English speaker means when you make a situation really bad for yourself. The chambers dictionary says: "to harm one's own interests by ineptitude".

And when it comes to attitude, you're the one who has been pretty horrible to me throughout this. Snarky, rude, basically calling me stupid by saying I don't have a clue. All throughout this I've been patient, smiley and trying to encourage you to teach me, rather than send pithy, snide comments. Compare your posts to Peter's which have been patient, descriptive and full of helpful comments.

So, maybe you have a different interpretation, but to me, when I was asking a question and I get a reply telling me I am inept, I think it's not me that has had an attitude issue.

Your help is always muchly appreciated, but your bedside manner sometimes leaves something to be desired, Herr Doktor! :)
DiBosco
 
Posts: 331
Joined: Aug 31st, '11, 10:22

Re: I need GLIBCXX_3.4.21 for a third party library (Mageia

Postby wintpe » Feb 3rd, '17, 15:36

DiBosco

Your actually very wrong, when referring to Florien in that way. , hes the most helpful person on this forum.

Perhaps its just his way of conveying the message is incompatible with your way of reading it.

but i can assure you, we are both saying the same thing.

regards peter
Redhat 6 Certified Engineer (RHCE)
Sometimes my posts will sound short, or snappy, however its realy not my intention to offend, so accept my apologies in advance.
wintpe
 
Posts: 1204
Joined: May 22nd, '11, 17:08
Location: Rayleigh,, Essex , UK

Re: I need GLIBCXX_3.4.21 for a third party library (Mageia

Postby DiBosco » Feb 3rd, '17, 15:54

I'm not saying he's not the most helpful person on the forum; no-one answers more posts than him, that's indisputable. All I'm pointing out is that I was enormously friendly, even when getting curt answers, even when he told me I don't have a clue. I'm sorry I'm not as clever as he is, I'm sorry I don't pick things up as quickly as he does, but please don't make me feel stupid because I don't grasp things as quickly.

I've kept going back over and over to read the exchanges and all I see is me being chatty and patient, and him being curt and annoyed because I don't understand.

Maybe you are both saying the same thing, but the way you say it patient, kind and full of detail. His way is essentially along the lines of, "no you can't do it", with no detail and in a way to make me feel stupid.

Maybe I'm being oversensitive. If I am, then I'm sorry. What is absolutely indisputable is that of the two styles, yours is way more detailed and therefore, to my mind, much nicer.

wintpe wrote:DiBosco

Your actually very wrong, when referring to Florien in that way. , hes the most helpful person on this forum.

Perhaps its just his way of conveying the message is incompatible with your way of reading it.

but i can assure you, we are both saying the same thing.

regards peter
DiBosco
 
Posts: 331
Joined: Aug 31st, '11, 10:22

Re: I need GLIBCXX_3.4.21 for a third party library (Mageia

Postby isadora » Feb 3rd, '17, 20:34

After 33 years of marriage, i find it still difficult to get on the same frequency with my relation.
More, it seems to become even harder through the years.
Mechanisms are needed to get each other on track, they can't be pulled out of the thin air.
But the relation keeps on being strong.

What a bullshit, you might think, but in the core it's all about communicating and the techniques used.
Give it another deep breathe and another countdown, and let go.

Everyone tries to help in his or her best competence, believe me, even though one might sound like a bully, or whatever one would name it.
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2763
Joined: Mar 25th, '11, 16:03
Location: Netherlands


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest