Closed BingoZha closed 11 months ago
This is libc issue. So just build and deploy your distribution on oldest OS, The centOS 7.9 have libc version 2.17 - this is supper too old... so and unfixable
For example, Ubuntu 16.04 has libc version 2.23 and actually version is 2.37 (2.35 for ubuntu 22.04)
So you should build your app only on centos 7.9
Thank you.
I compiled the project in Ubuntu 22.04 and use CQtDeployer to deploy.It can run perfectly in Ubuntu. Then I move the deployed folder to centOS 7.9, it reports some error: /root/Deployer/ServerTest/DistributionKit/bin/ServerTest: /lib64/libstdc++.so.6: version
GLIBCXX_3.4.26' not found (required by /root/Deployer/ServerTest/DistributionKit/bin/ServerTest) /root/Deployer/ServerTest/DistributionKit/bin/ServerTest: /lib64/libstdc++.so.6: version
GLIBCXX_3.4.21' not found (required by /root/Deployer/ServerTest/DistributionKit/bin/ServerTest) /root/Deployer/ServerTest/DistributionKit/bin/ServerTest: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by /root/Deployer/ServerTest/DistributionKit/bin/ServerTest) How to fix it?