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

Snap versin can't use qmake form the opt folder #746

Closed
EndrII opened this issue Jan 3, 2023 · 0 comments · Fixed by #747
Closed

Snap versin can't use qmake form the opt folder #746

EndrII opened this issue Jan 3, 2023 · 0 comments · Fixed by #747
Assignees
Labels
Bug Something isn't working Linux Linux version
Milestone

Comments

@EndrII
Copy link
Member

EndrII commented Jan 3, 2023

CQtDeployer fails on my Ubuntu 20.04 machine. I've tried both the latest .deb package and the snap. With the snap I'm getting

olof@olof-VirtualBox:~$ cqtdeployer -bin build-sumac-Desktop_Qt_6_4_1_GCC_64bit-Release/Sumac -qmake /opt/Qt/6.4.1/gcc_64/bin/qmake
Info: Deploy ...
Info: The targetDir option is not used. CQtDeployer will use default target dir :/home/olof/DistributionKit
Error: The deployment target requires Qt libraries, but initialize of Qt directories is failed. Please use the qmake option to set a path to the qmake executable.
Info: If you are using qmake from the system repository, then you must use the classic version of CQtDeployer instead of the snap version. This is due to the fact that the snap version runs in an isolated container and has limited access to system utilities and the environment. For get the classic version of cqtdeployer use the cqtdeployer installer https://github.com/QuasarApp/CQtDeployer/releases
Error: Deploy failed!
Error: The CQtDeployer fail to read configuration.

The path to qmake given with -qmake is correct. Here i'm not quite sure what "system repository" in "If you are using qmake from the system repository, " means.

When I try the deb package I'm getting

olof@olof-VirtualBox:~$ cqtdeployer -bin build-sumac-Desktop_Qt_6_4_1_GCC_64bit-Release/Sumac -qmake /opt/Qt/6.4.1/gcc_64/bin/qmake
/opt/CQtDeployer/bin/CQtDeployer: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /opt/CQtDeployer/bin/CQtDeployer)
/opt/CQtDeployer/bin/CQtDeployer: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /opt/CQtDeployer/lib/libDeploy.so)
/opt/CQtDeployer/bin/CQtDeployer: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /opt/CQtDeployer/lib/libpe-parse.so)
/opt/CQtDeployer/bin/CQtDeployer: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /opt/CQtDeployer/lib/libpe-parse.so)
/opt/CQtDeployer/bin/CQtDeployer: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /opt/CQtDeployer/lib/libzip.so)

The glibc version on Ubuntu 20.04 is 2.31.

I'm quite sure that I've gotten it to work about a year ago on a different machine, unfortunately no longer accessible to me, also with Ubuntu 20.04. Don't remember if I used the snap install or the .deb package.

Can it be that I should use an earlier version of the .deb package that works with glibc 2.31?

Should the snap version work?

Originally posted by @olowo726 in #745

@EndrII EndrII added Bug Something isn't working Linux Linux version labels Jan 3, 2023
@EndrII EndrII self-assigned this Jan 3, 2023
@EndrII EndrII added this to the v1.6 milestone Jan 3, 2023
EndrII added a commit that referenced this issue Jan 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Linux Linux version
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant