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

libicu libraries not installed #532

Closed
vervaekejonathan opened this issue Jun 7, 2022 · 5 comments
Closed

libicu libraries not installed #532

vervaekejonathan opened this issue Jun 7, 2022 · 5 comments
Labels
question Further information is requested

Comments

@vervaekejonathan
Copy link

Used the following command to install Qt

aqt install-qt linux desktop 5.12.8 gcc_64 --archives qtbase qtdeclarative qtquickcontrols qtgraphicaleffects qtquickcontrols2 qttranslations qtwebsockets qtmultimedia qttools

When compiling my application, it cannot find libicu

/usr/bin/ld: warning: libicui18n.so.56, needed by ~/Qt/5.12.8/gcc_64/lib/libQt5Core.so.5.12.8, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libicuuc.so.56, needed by ~/Qt/5.12.8/gcc_64/lib/libQt5Core.so.5.12.8, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libicudata.so.56, needed by ~/Qt/5.12.8/gcc_64/lib/libQt5Core.so.5.12.8, not found (try using -rpath or -rpath-link)

It is available in the folder installed via the official Qt installer:

/opt/Qt5.12.8/5.12.8/gcc_64/lib: ll libicudata.so.56.1 
-rwxr-xr-x 1 root root 24M sep 26  2016 libicudata.so.56.1

But not in the one installed via aqt:

~/Qt/5.12.8/gcc_64/lib:ll libicu*
zsh: no matches found: libicu*
@miurahr
Copy link
Owner

miurahr commented Jun 7, 2022

Because you @vervaekejonathan don't specify icu as --archives option, that limit target package as you specified exactly.

@miurahr miurahr added the question Further information is requested label Jun 7, 2022
@vervaekejonathan
Copy link
Author

@miurahr I see.. I matched the install list to what was required via apt, probably this is bundled somewhere when you install via apt

@miurahr
Copy link
Owner

miurahr commented Jun 8, 2022

Please try
aqt install-qt linux desktop 5.12.8 gcc_64 --archives qtbase qtdeclarative qtquickcontrols qtgraphicaleffects qtquickcontrols2 qttranslations qtwebsockets qtmultimedia qttools icu

You can find an argument that CI/CD script install which archives as minimum one, https://github.com/miurahr/aqtinstall/blob/master/ci/generate_azure_pipelines_matrices.py#L196-L204

@miurahr
Copy link
Owner

miurahr commented Jun 8, 2022

When you are not expert of Qt packages, you are recommended to use --modules option instead of --archives
https://aqtinstall.readthedocs.io/en/latest/cli.html#cmdoption-list-tool-modules

--archives is an option for expert and no guarantee a result of installation.

@miurahr
Copy link
Owner

miurahr commented Jun 11, 2022

question answered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants