Navigation

    全志在线开发者论坛

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

    开发板上不能运行应用程序提示not found

    MR Series
    3
    3
    1051
    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.
    • D
      ddrddr LV 5 last edited by

      应用程序出错.png

      这个看网上说是缺少库,在虚拟机下执行readelf -l demo, 提示require libc.so.6和libm.so.6,
      我尝试从虚拟机的arm-linux-gnueabi的库里复制到rootfs的lib中,没有解决。

      希望路过的大师们能指点迷津,感谢!

      J 1 Reply Last reply Reply Quote Share 0
      • bayche
        bayche LV 6 last edited by

        我也遇到相同的问题,尝试以下方法

        1. objdump -x 文件 | grep NEEDED
          2.在开发板环境输入env查看环境变量
          3、把你需要的库复制到开发板提示库文件的位置
          4、把你复制的文件全部添加可执行的权限,
          应该可以解决你的问题
        1 Reply Last reply Reply Quote Share 0
        • J
          J_Biao LV 5 @ddrddr last edited by

          @ddrddr 你的demo1是什么程序,有交叉编译吗

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

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

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