1/根据自己编译的平台,在staging_dir下知道到对应平台的库文件,进入,然后检索缺失的库,看是否存在,如不存在,请make menuconfig,然后/ 检索,选择编译对应的库,如有对应的库。
2/进入pkginfo文件,检索libc.provides,打开,在最后添加libpthread.so.0,重新编译,ok.。

下边粘贴些操作的图
openwrt编译时报 libpthread.so.0缺失
openwrt编译时报 libpthread.so.0缺失
openwrt编译时报 libpthread.so.0缺失
openwrt编译时报 libpthread.so.0缺失
openwrt编译时报 libpthread.so.0缺失

相关文章: