/usr/bin/ld: cannot find -llzma /usr/bin/ld: cannot find -lbz2
Posted qq_21478261
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了/usr/bin/ld: cannot find -llzma /usr/bin/ld: cannot find -lbz2相关的知识,希望对你有一定的参考价值。
CentOS下编译软件报错
/usr/bin/ld: cannot find -llzma
/usr/bin/ld: cannot find -lbz2
linux系统确基本依赖软件,
解决报错:/usr/bin/ld: cannot find -llzma
yum install xz-devel
参考:https://centos.pkgs.org/7/centos-aarch64/xz-devel-5.2.2-1.el7.aarch64.rpm.html
解决报错:/usr/bin/ld: cannot find -lbz2
yum install bzip2-devel
参考:https://centos.pkgs.org/7/centos-aarch64/bzip2-devel-1.0.6-13.el7.aarch64.rpm.html
以上都需要root权限。
参考
https://github.com/eddelbuettel/littler/issues/76
https://github.com/dellytools/svprops/issues/2
https://stackoverflow.com/questions/49841635/library-missing-cannot-find-lbz2-in-arch
欢迎关注 👇交流~
以上是关于/usr/bin/ld: cannot find -llzma /usr/bin/ld: cannot find -lbz2的主要内容,如果未能解决你的问题,请参考以下文章
/usr/bin/ld: cannot find -lmariadb
/usr/bin/ld: cannot find -lmariadb
[tech][转] 解决/usr/bin/ld: cannot find -lxxx 问题