免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2127 | 回复: 4
打印 上一主题 下一主题

[网络管理] 请教安装net-snmp的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-10-22 13:49 |只看该作者 |倒序浏览
下了一个net-snmp-5.3.1的gz安装包,./configure   make 在make install的时候出现了以下错误。安装net-snmp是不是先需要安装其他的包?
make[2]: Leaving directory `/home/xjl/net-snmp-5.3.1/agent/mibgroup'
/bin/sh ../libtool  --mode=link gcc -g -O2 -Dlinux -I/usr/include/rpm  -o snmpd snmpd.lo    libnetsnmpmibs.la libnetsnmpagent.la helpers/libnetsnmphelpers.la  ../snmplib/libnetsnmp.la -ldl -lrpm -lrpmio -lpopt  -lz -lcrypto -lm   
libtool: link: cannot find the library `/usr/lib/libbeecrypt.la' (librpmio.la: /usr/lib/libbeecrypt.la)
make[1]: *** [snmpd] 错误 1
make[1]: Leaving directory `/home/xjl/net-snmp-5.3.1/agent'
make: *** [installsubdirs] 错误 1

论坛徽章:
0
2 [报告]
发表于 2007-10-30 16:17 |只看该作者
我也遇到同样的问题。。。求解中。。。。

论坛徽章:
0
3 [报告]
发表于 2007-10-30 17:46 |只看该作者
这是安装的步骤,你安装找不到库文件,应该是和没有配置好./configure后的选项有关:
1) Run ./configure
     (type "./configure --help" for a quick usage summary.)
     (--prefix=PATH will change the default /usr/local installation path.)
     (see "Compilers and Options" on changing the compiler to use)

  2) Optionally edit include/net-snmp/net-snmp-config.h
     (due to prompting done by the configure script, this is very rarely
      necessary.)

  3) make

  4) Run the next command as root:
  5) make install

  6) configure the agent
     (either using 'snmpconf' or by crafting an snmpd.conf file manually.
      The file 'EXAMPLE.conf' may be a suitable starting point)

Note: By default, everything will be installed in /usr/local.
      (see below for more instructions)

论坛徽章:
0
4 [报告]
发表于 2007-10-30 17:47 |只看该作者
http://linux.chinaunix.net/bbs/viewthread.php?tid=907574
这个上面有关于配置的一些讨论

论坛徽章:
0
5 [报告]
发表于 2007-11-01 14:44 |只看该作者
这个问题已经解决
下载beecrypt-4.1.2.tar.gz
http://sourceforge.net/projects/beecrypt
./configure -prefix=/usr
默认是安装在/usr/local的偶们要装在/usr下
make
make install
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP