Navigation

    全志在线开发者论坛

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

    f133编译报错 缺少libatomic.so.1 Package harfbuzz is missing dependencies for the following libraries: libatomic.so.1

    MR Series
    3
    4
    2587
    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.
    • Y
      yuwei LV 6 last edited by

      ef19c7f9-dfe9-43ef-8a45-a8d2c1e0ccfd-image.png
      这个该怎么解决有大神知道吗

      C 1 Reply Last reply Reply Quote Share 0
      • C
        chengwei_peng LV 6 @yuwei last edited by

        @yuwei 这种问题这样解:
        首先编译出来说 harfbuzz 这个包依赖libatomic.so.1这个库,接着你去out目录,find -name libatomic.so.1,看看这个库是在哪个包,确认包的名字(可以执行make menuconfig来看包的名字),此时已经知道是哪一个包有libatomic.so.1这个库了,最后在 harfbuzz 这个包的 Makefile 中的 DEPENDS 增加被依赖包的名称即可。

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

          @yuwei
          我也遇到这种问题了,分析了很久,很可能因为前面使用了 make -jX 多线程编译,导致 libatomic.so.1 所在的包没有正确编译或安装造成。

          比如我的这个编译出现:

          pile_dir/target/awcast/ipkg-sunxi/awcast/usr/lib/
          cp -fpR -r /opt/H133/H133-lianhe/out/h133-p1/compile_dir/target/awcast/airplay/lib/lib32/openwrt-arm-musl/libcoolserver.so /opt/H133/H133-lianhe/out/h133-p1/compile_dir/target/awcast/ipkg-sunxi/awcast/usr/lib/
          install -m0755 /opt/H133/H133-lianhe/out/h133-p1/compile_dir/target/awcast/awcast /opt/H133/H133-lianhe/out/h133-p1/compile_dir/target/awcast/ipkg-sunxi/awcast/usr/bin
          install -d -m0755 /opt/H133/H133-lianhe/out/h133-p1/compile_dir/target/awcast/ipkg-sunxi/awcast/etc/init.d
          install -m0755 ./files/awcast.init /opt/H133/H133-lianhe/out/h133-p1/compile_dir/target/awcast/ipkg-sunxi/awcast/etc/init.d/awcast
          #install -m0644 /opt/H133/H133-lianhe/external/awcast/conf/awcast.cfg /opt/H133/H133-lianhe/out/h133-p1/compile_dir/target/awcast/ipkg-sunxi/awcast/usr/local/etc/awcast.cfg
          install -m0644 /opt/H133/H133-lianhe/external/awcast/conf/MiniGUI.cfg /opt/H133/H133-lianhe/out/h133-p1/compile_dir/target/awcast/ipkg-sunxi/awcast/usr/local/etc/MiniGUI.cfg
          find /opt/H133/H133-lianhe/out/h133-p1/compile_dir/target/awcast/ipkg-sunxi/awcast -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
          Package awcast is missing dependencies for the following libraries:
          libqrcode.so
          Makefile:130: recipe for target '/opt/H133/H133-lianhe/out/h133-p1/packages/base/awcast_1-1_sunxi.ipk' failed
          make[3]: *** [/opt/H133/H133-lianhe/out/h133-p1/packages/base/awcast_1-1_sunxi.ipk] Error 1
          make[3]: Leaving directory '/opt/H133/H133-lianhe/package/allwinner/homlet/awcast'
          package/Makefile:192: recipe for target 'package/allwinner/homlet/awcast/compile' failed
          make[2]: *** [package/allwinner/homlet/awcast/compile] Error 2
          make[2]: Leaving directory '/opt/H133/H133-lianhe'
          package/Makefile:189: recipe for target '/opt/H133/H133-lianhe/out/h133-p1/staging_dir/target/stamp/.package_compile' failed
          make[1]: *** [/opt/H133/H133-lianhe/out/h133-p1/staging_dir/target/stamp/.package_compile] Error 2
          make[1]: Leaving directory '/opt/H133/H133-lianhe'
          /opt/H133/H133-
          

          8817669e-6e64-40af-9e69-09592d8f6a57-4a762ab9a49008cdb6dbbe50ffd420a.png

          只要执行:

          make package/utils/qrcode/compile
          make package/utils/qrcode/install
          

          然后执行awcast编译就能成功:

          make package/allwinner/homlet/awcast/compile
          
          Y 1 Reply Last reply Reply Quote Share 0
          • Y
            yuwei LV 6 @whycan last edited by

            @whycan 感谢解惑

            1 Reply Last reply Reply Quote Share 0
            • Referenced by  whycan whycan 
            • Referenced by  whycan whycan 
            • 1 / 1
            • First post
              Last post

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

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