f133编译报错 缺少libatomic.so.1 Package harfbuzz is missing dependencies for the following libraries: libatomic.so.1
-
这个该怎么解决有大神知道吗 -
@yuwei 这种问题这样解:
首先编译出来说 harfbuzz 这个包依赖libatomic.so.1这个库,接着你去out目录,find -name libatomic.so.1,看看这个库是在哪个包,确认包的名字(可以执行make menuconfig来看包的名字),此时已经知道是哪一个包有libatomic.so.1这个库了,最后在 harfbuzz 这个包的 Makefile 中的 DEPENDS 增加被依赖包的名称即可。 -
@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-
只要执行:
make package/utils/qrcode/compile make package/utils/qrcode/install
然后执行awcast编译就能成功:
make package/allwinner/homlet/awcast/compile
-
@whycan 感谢解惑
-
-
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号