Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant run deployed sh :"/lib64/libstdc++.so.6: version `GLIBCXX_3.4.26' not found" #775

Closed
BingoZha opened this issue Sep 14, 2023 · 2 comments
Labels
Wontfix This will not be worked on

Comments

@BingoZha
Copy link

BingoZha commented Sep 14, 2023

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?

@EndrII
Copy link
Member

EndrII commented Sep 14, 2023

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

@EndrII EndrII added the Wontfix This will not be worked on label Sep 14, 2023
@BingoZha
Copy link
Author

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants