Busybox ping & nslookup can't work & dns resolv error with bad address.
Busybox ping & nslookup can't work & dns resolv error with bad address.
1. bosybox can't build in static library
--> ping: ../sysdeps/unix/sysv/linux/getpagesize.c:32: __getpagesize: Assertion `_rtld_global_ro._dl_pagesize != 0' failed.
2. use strace : strace -tt -s99 -oLOG ping www.google.com
--> libnss_dns.so.2
libnss_files.so.2
libresolv.so.2
缺少上面檔案. 補上就可以了.
1. bosybox can't build in static library
--> ping: ../sysdeps/unix/sysv/linux/getpagesize.c:32: __getpagesize: Assertion `_rtld_global_ro._dl_pagesize != 0' failed.
2. use strace : strace -tt -s99 -oLOG ping www.google.com
--> libnss_dns.so.2
libnss_files.so.2
libresolv.so.2
缺少上面檔案. 補上就可以了.
留言
張貼留言