You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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)
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?
The text was updated successfully, but these errors were encountered: