当前位置: 技术问答>linux和unix
编译openWR linux时出现一个xz: error while loading shared libraries错误,请问该如何解决
来源: 互联网 发布时间:2017-04-12
本文导语: 具体错误信息如下: XZKERN arch/arm/boot/compressed/piggy.xzkern SHIPPED arch/arm/boot/compressed/lib1funcs.S SHIPPED arch/arm/boot/compressed/ashldi3.S xz: error while loading shared libraries: liblzma.so.5: cannot open shared object file: No such f...
具体错误信息如下:
XZKERN arch/arm/boot/compressed/piggy.xzkern
SHIPPED arch/arm/boot/compressed/lib1funcs.S
SHIPPED arch/arm/boot/compressed/ashldi3.S
xz: error while loading shared libraries: liblzma.so.5: cannot open shared object file: No such file or directory
AS arch/arm/boot/compressed/lib1funcs.o
make[7]: *** [arch/arm/boot/compressed/piggy.xzkern] Error 1
make[7]: *** Waiting for unfinished jobs....
AS arch/arm/boot/compressed/ashldi3.o
make[6]: *** [arch/arm/boot/compressed/vmlinux] Error 2
make[5]: *** [uImage] Error 2
XZKERN arch/arm/boot/compressed/piggy.xzkern
SHIPPED arch/arm/boot/compressed/lib1funcs.S
SHIPPED arch/arm/boot/compressed/ashldi3.S
xz: error while loading shared libraries: liblzma.so.5: cannot open shared object file: No such file or directory
AS arch/arm/boot/compressed/lib1funcs.o
make[7]: *** [arch/arm/boot/compressed/piggy.xzkern] Error 1
make[7]: *** Waiting for unfinished jobs....
AS arch/arm/boot/compressed/ashldi3.o
make[6]: *** [arch/arm/boot/compressed/vmlinux] Error 2
make[5]: *** [uImage] Error 2
|
如果是centos系统,就:
yum install xz-libs xz-devel
yum install xz-libs xz-devel