I'm developing an app on Ubuntu 16.04. When I'm trying to deploy it on my Centos 7.3 servers, I'm receiving the following error:
/lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found
/lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found
I tried to do as mentioned at this answer but I'm still receiving the same error.
In order to compile my app, I compiled gcc 5.4.0 from source.
When I'm trying to update libstdc++ by yum install libstdc++.x86_64 it says that Package libstdc++-4.8.5-11.el7.x86_64 already installed and latest version
If you're deploying on CentOS 7, build on CentOS 7.
Otherwise your runtime dependencies won't match up.
It's possible to ship your Ubuntu's libc and libstdc++ with your application, but you should avoid having to do this, if possible.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With