Open darkvertex opened 2 years ago
Hi @darkvertex ,
Thanks a lot for reporting this issue and for the detailed information. :+1: This is definitely a :bug: , we'll look into it.
How long have you experienced this problem? Only for the version 0.12.1 (in the last 2 weeks) or longer?
Hi @darkvertex ,
Thanks again for reporting this. Unfortunately, our new parser relies on libstdc++ 6.
So far, we have 2 troubleshooting ideas:
Can you perhaps update the libstd version on your server?
Can you eventually upgrade glibc? We've seen a few instances of similar errors on various Linux versions, but all of them are using glibc 2.17
This is a shared server that's meant to match the general platform of our other systems and so I would probably piss off my peers by upgrading libs. Also the version I have is the newest available under CentOS7 out of the box, so I'd have to go out of my way to find and recompile a newer rpm.
I'm not a C++ expert but would it be crazy to bundle a newer libstd .so in your extension install's root directory so you don't depend on the system's one being right? Or statically linking against it for that matter?
Hello,
Thanks for the useful and creative extensions. I also had this error: OSError: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found so how to solve it? many thanks
This prevents using the plugin with Centos7. I haven't found a workaround.
Hello everyone, has this bug been fixed? Actually, I still had the bug
Hi @Chiu-Ping! This issue seems hard to fix, given how we currently build and release Sourcery. It is in our roadmap to address it, but it may take some time.
i believe this is about gcc. maybe an update . i'll try that and keep you posted
I've found a workaround
$ sudo find / -name 'libstdc++.so.6'
$ sudo unlink /usr/lib64/libstdc++.so.6
$ sudo cp /usr/local/lib64/libstdc++.so.6 /usr/lib64
If you are using vscode remote plugin , just quit and re-connect
i believe this is about gcc. maybe an update . i'll try that and keep you posted
Turns out it was a link problem
Still have this bug on remote ssh.
Seems that sourcery is not compatible with centos 7 , because of the libstdc++.so version. Centos 7 has version 2.18 maximum , and we can't install another version. I recommend to state this explicitly in the requirement.
I have a server I sometimes use the VSCode "Remote SSH" extension with to connect to and when I do Sourcery is not happy:
If it helps, the linux box runs CentOS7 and has libstdc++-4.8.5