A
A
Alex Plotnikov2018-10-03 21:49:23
go
Alex Plotnikov, 2018-10-03 21:49:23

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)

I understand that the problem is in the versions of the libraries, but I don’t understand what exactly is wrong and how to treat (

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Mirilaczvili, 2018-10-04
@TrueDevs

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 question

Ask a Question

731 491 924 answers to any question