Answer the question
In order to leave comments, you need to log in
Why won't a golang binary compiled on debian 9 run on CentOS?
I compiled the application on Debian 9, when I try to run it on CentosOS, I get
./app: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by ./app)
./app: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by ./app)
./app: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./app)
Answer the question
In order to leave comments, you need to log in
I believe that the libstdc ++ library on CentOS is of a different version, which is why it lacks the necessary APIs.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question