not found"-6ren"> not found"-我想使用 linuxdeployqt工具,但是这个命令:./linuxdeployqt-continuous-x86_64.AppImage/home/user/QtProjects/build-VP-6ren">
gpt4 book ai didi

c++ - 错误 : ldd outputLine: "libicui18n.so.56 => not found"

转载 作者:太空宇宙 更新时间:2023-11-04 12:12:32 25 4
gpt4 key购买 nike

我想使用 linuxdeployqt工具,但是这个命令:./linuxdeployqt-continuous-x86_64.AppImage/home/user/QtProjects/build-VPSTest-Desktop_Qt_5_6_0_GCC_64bit-Release/VPSTest

输出这个:

Not using FHS-like mode
app-binary: "/home/user/QtProjects/build-VPSTest-Desktop_Qt_5_6_0_GCC_64bit-Release/VPSTest"
appDirPath: "/home/user/QtProjects/build-VPSTest-Desktop_Qt_5_6_0_GCC_64bit-Release"
relativeBinPath: "VPSTest"
ERROR: ldd outputLine: "libicui18n.so.56 => not found"
ERROR: for binary: "/home/user/QtProjects/build-VPSTest-Desktop_Qt_5_6_0_GCC_64bit-Release/lib//libQt5Core.so.5"
ERROR: Please ensure that all libraries can be found by ldd. Aborting.

接下来我这样做了:ldd libQt5Core.so.5

此命令输出:

linux-vdso.so.1 => (0x00007fff7e5c1000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007ff552c43000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007ff552a29000)
libicui18n.so.56 => not found
libicuuc.so.56 => not found
libicudata.so.56 => not found
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007ff552823000)
libgthread-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0 (0x00007ff552621000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007ff552419000)
libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007ff552109000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007ff551d87000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007ff551a7f000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007ff551867000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ff55149d000)
/lib64/ld-linux-x86-64.so.2 (0x0000562d67831000)
libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007ff55122f000)

接下来我打开/home/user/Qt/5.6/gcc_64/lib/,这是libQt5Core.so.5的位置,当然我找到了libicu18n.so.56libicuuc.so.56libicudata.so.56

那么,我该如何解决这个问题并使用 linuxdeployqt 工具创建部署包呢?

最佳答案

我用了this solution :

PATH=/home/user/Qt/5.6/gcc_64/bin:$PATH
export PATH

关于c++ - 错误 : ldd outputLine: "libicui18n.so.56 => not found",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48439547/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com