portmap rpcinfo 问题
想在arm板上起portmap服务
动态编译portmap命令,能成功,运行时,会提示:libwrap.so. -> libwrap.so... 这个库有问题。
下面是file portmap的信息:
localhost portmap_6.0 # file portmap
portmap: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, not stripped
如是改用静态编译,需要去掉参数-pie才能编过,如是把portmap放到板子上运行。ps -ewf:
bin 384 1 0 16:10 ? 00:00:00 portmap
能运行
但是 当 rpcinfo -p 时却提示:
rpcinfo: can't contact portmapper: RPC: Remote system error - No such file or directory
望高手指点下,谢谢!