简体   繁体   English

错误:ldd outputLine:“ libicui18n.so.56 =>找不到”

[英]ERROR: ldd outputLine: “libicui18n.so.56 => not found”

I want to use linuxdeployqt tool, but this command: ./linuxdeployqt-continuous-x86_64.AppImage /home/user/QtProjects/build-VPSTest-Desktop_Qt_5_6_0_GCC_64bit-Release/VPSTest 我想使用linuxdeployqt工具,但是该命令: ./linuxdeployqt-continuous-x86_64.AppImage /home/user/QtProjects/build-VPSTest-Desktop_Qt_5_6_0_GCC_64bit-Release/VPSTest

Outputs this: 输出此:

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.

Next I did this: ldd libQt5Core.so.5 接下来,我这样做: ldd libQt5Core.so.5

This command outputs: 该命令输出:

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)

Next I opened /home/user/Qt/5.6/gcc_64/lib/ , this is location of the libQt5Core.so.5 , and of course I found libicui18n.so.56 , libicuuc.so.56 and libicudata.so.56 . 接下来,我打开/home/user/Qt/5.6/gcc_64/lib/ ,这是libQt5Core.so.5位置,当然我找到了libicui18n.so.56libicuuc.so.56libicudata.so.56

So, how can I fix this issue and create deployment bundle using linuxdeployqt tool? 那么,如何解决此问题并使用linuxdeployqt工具创建部署捆绑包?

I used this solution : 我用这个解决方案

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在Ubuntu 16.04中找不到libicui18n.so.58 - could not find libicui18n.so.58 in ubuntu 16.04 dyld:库未加载:libicui18n.54.dylib 引用自:/usr/local/lib/libxerces-c-3.1.dylib - dyld: Library not loaded: libicui18n.54.dylib Referenced from: /usr/local/lib/libxerces-c-3.1.dylib ldd找不到xerces的共享对象(.so) - ldd not finding shared object (.so) for xerces 当该文件存在且 LD_LIBRARY_PATH 正常时,什么可能导致条件性`ldd: library.so => not found`? - What could cause a conditional `ldd: library.so => not found` when that file exists and LD_LIBRARY_PATH is OK? ld64.so存在于ldd中,在运行时丢失 - ld64.so present in ldd, missing at runtime 部署后的Linux qt应用程序-符号查找错误:libQt5Core.so.5未定义符号:uncv_getDefaultName_56 - Linux qt application after deployment - symbol lookup error: libQt5Core.so.5 undfined symbol: uncv_getDefaultName_56 ldd说编译完成后找不到库 - ldd says library isn't found by compile completes successfully 56:68:错误:预期表达 - 56:68: error: expected expression 配置:错误:Python.h 存在于 Ubuntu 18 时未找到 - configure: error: Python.h not found when it exists in Ubuntu 18 ldd可执行文件如何找到/usr/lib64/libstdc++.so.6? - How ldd executable finds /usr/lib64/libstdc++.so.6?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM