http://cpbest.blog.163.com/blog/static/41241519201110211754933/ usr/bin/ld: cannot find -lcrypt collect2: ld returned 1 exit status make: *** [busybox_unstripped] Error 1 出现这个错误的原因是因为在配置busybox的时候,通常配置为静态编译,所以编译后在最后的链接阶段需要链接crypt的静态库文件(libcrypt.a),而非动态库文件(libcrypt.so*),该库文件由glibc提供,通常系统中只安装了glibc,而没有安装glibc-static。 解决方法: 安装glibc-static包 sudo yum install glibc-static
|
|
来自: raymoon_sure > 《linux问题排查》