Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    Qt运行缺so库文件

    MR Series
    2
    3
    1666
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      lgkgkfg LV 6 last edited by

      在板子上运行qt demo,提示缺失

      ./rasterwindow: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or director
      

      可是,我把编译器下面的so文件拷贝到板子lib文件夹下,还是提示缺失库,我看了下连接情况和权限,都没有错,有大佬能看下是啥原因吗?

      -rw-r--r--    1 root     root        110324 Oct 28  2022 libatomic.a
      -rwxr-xr-x    1 root     root          1074 Oct 28  2022 libatomic.la
      lrwxrwxrwx    1 root     root            18 Oct 28  2022 libatomic.so -> libatomic.so.1.2.0
      lrwxrwxrwx    1 root     root            18 Oct 28  2022 libatomic.so.1 -> libatomic.so.1.2.0
      -rw-r--r--    1 root     root         22216 Oct 28  2022 libatomic.so.1.2.0
      

      难不成这动态链接库版本太旧?

      whycan 1 Reply Last reply Reply Quote Share 0
      • whycan
        whycan晕哥 LV 9 @lgkgkfg last edited by

        @lgkgkfg 在 Qt运行缺so库文件 中说:

        libatomic.so.1.2.0

        libatomic.so.1.2.0 具体路径是什么?

        L 1 Reply Last reply Reply Quote Share 0
        • L
          lgkgkfg LV 6 @whycan last edited by

          @whycan 板子是在/lib下,实际构建时添加进去的,构建路径放在了/package/add-rootfs-demo/lib路径下。

          1 Reply Last reply Reply Quote Share 0
          • 1 / 1
          • First post
            Last post

          Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

          行为准则 | 用户协议 | 隐私权政策