When running a .NET 8 application on CentOS 7, the error is as follows:
[32514]: /itsvse: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /itsvse) [32514]: /itsvse: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /itsvse)
The reason for the exception is that the libstdc++.so.6 version is too low, and the command is as follows:
solution
To compile the new version of GCC, the command is as follows:
It takes a long time to compile and may eventually fail to compile, butIt does not affect the normal generation of "libstdc++.so.6.0.29"。
Reset the libstdc++.so.6 softlink with the following command:
Finally, attach the compiled file:
Tourists, if you want to see the hidden content of this post, please Reply |