1.#tar –zxvf net-snmp-5.4.2.1.tar.gz //解压 2.#cd net-snmp-5.4.2.1 //进入源文件目录 3./configure --prefix=/usr/local/snmp //配置在过程中需要选择 配置中会出这样的提示: default version of-snmp-version: 2 Systemcontact information(配置该设备的联系人): heaven System location (该设备...
sudo ./snmpd -c snmpd.conf –f –Le –d 出现的问题与解决方法# 没有perl库的问题# 编译的时候出现找不到perl库的问题,这个问题其实也好解决,编译一个就是嘛。但是呢,没有这个必要,麻烦。 /usr/lib/gcc-cross/arm-linux-gnueabi/4.9/../../../../arm-linux-gnueabi/bin/ld: cannot find -lper...
System location (该系统设备的地理位置):BEIJING P.R China Location to write logfile (日志文件位置): /var/log/snmpd.log Location to Write persistent(数据存储目录): /var/net-snmp 配置完成开始,运行 make 会出现如下错误: /usr/bin/ld: cannot find -lperl 解决办法如下(安装lperl的包):sudo apt-g...
4)./usr/bin/ld:cannot find -lperl apt-get install libperl-dev 1. 5.#cp EXAMPLE.conf /usr/local/snmp/share/snmp/snmpd.conf //拷贝EXAMPLE.conf 注意大写 6.#vi /usr/local/snmp/share/snmp/snmpd.conf //编辑snmpd.conf 把里面的mynetwork/24 改成需要查看snmp信息的主机ip地址或是网段,把com...
/usr/bin/ld: cannot find -lperl 解决办法如下(安装lperl的包):sudoapt-get installlibperl-dev 安装完成后继续make。 这时有产生了一个错误,大概意思是说SNMP.xs文件有错误。找到这个文件/net-snmp-5.5/perl/SNMP目录下,打开到错误行,干掉这句话 “ return NETSNMP_DEFAULT_SNMP_VERSION; ”就可以,这个错误...
/opt/hardhat/devkit/ppc/8xx/powerpc-hardhat-linux/bin/ld: cannot find -lperl collect2: ld returned 1 exit status make[1]: *** [snmpd] Error 1 你没有安装perl库 解决办法:sudo apt-get install libperl-dev Make Make install make install 2.cd /home/snmp cp EXAMLE.conf /usr/local/...
net-snmp5.7.3移植到arm-linux平台 本次交叉编译在ubuntu 15.04 64位系统下进行。 准备工作 在编译移植前有几项准备工作需要完成。 1下载net-snmp 5.7.3源码包 2安装交叉编译环境(arm-linux-gnueabi-gcc) 使用命令sudo apt-get install gcc-arm-linux-gnueabi安装即可。 编译配置 解压net-snmp源码包,然后进入...
* /usr/bin/ld: cannot find -lperl* collect2: error: ld returned 1 exit status Makefile:976: recipe for target 'libnetsnmpagent.la' failed make[1]: *** [libnetsnmpagent.la] Error 1 make[1]: Leaving directory '/home/jay/Yocto_Builds/net-snmp/net-snmp-5.7.3/agent' ...
~/work/_snmp/net-snmp-5.7.3$ make ... //binld: cannot find -lperl collect: error: ld returned 1 exit status make[1: *** [libnetsnmpagent.la] 错误 1 cannot -lperl问题# 在make的时候遇到了一个错误,提示找不到perl这个库。原因是因为的电脑上没有安装perl开发环境,现在装一个。
4)./usr/bin/ld:cannot find -lperl apt-get install libperl-dev 5.#cp EXAMPLE.conf /usr/local/snmp/share/snmp/snmpd.conf //拷贝EXAMPLE.conf 注意⼤写 6.#vi /usr/local/snmp/share/snmp/snmpd.conf //编辑snmpd.conf 把⾥⾯的mynetwork/24 改成需要查看snmp信息的主机ip地址或是⽹段,...