[asterisk-bugs] [Asterisk 0013492]: Configure res_snmp failure
Asterisk Bug Tracker
noreply at bugs.digium.com
Sun Oct 5 16:39:48 CDT 2008
The following issue has been UPDATED.
======================================================================
http://bugs.digium.com/view.php?id=13492
======================================================================
Reported By: oej
Assigned To: russell
======================================================================
Project: Asterisk
Issue ID: 13492
Category: Resources/res_snmp
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Asterisk Version: 1.4.21.2
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
Resolution: no change required
Fixed in Version:
======================================================================
Date Submitted: 2008-09-16 10:23 CDT
Last Modified: 2008-10-05 16:39 CDT
======================================================================
Summary: Configure res_snmp failure
Description:
Trying to compile on Centos 5, I've installed net-snmp and net-snmp-devel,
but configure still complains that net-snmp is not found or not correctly
installed. Checking in the config log file, I found this.
configure:22037: result: no
configure:22387: checking for initscr in -lncurses
configure:22422: gcc -o conftest -g -O2 conftest.c -lncurses >&5
configure:22428: $? = 0
configure:22446: result: yes
configure:22609: checking for curses.h
configure:22614: result: yes
configure:22835: checking for net-snmp-config
configure:22853: found /usr/bin/net-snmp-config
configure:22865: result: /usr/bin/net-snmp-config
configure:23012: checking for snmp_register_callback in -lnetsnmp
configure:23047: gcc -o conftest -g -O2 conftest.c -lnetsnmp -L/usr/lib
-lnetsnmpmibs -lnetsnmpagent -lnetsnmphelpers -lnetsnmp -ldl -lrpm -lrpmio
-lpopt -lz -lcrypto -lm -lsensors -L/usr/lib/lib -lwrap -Wl,-E
-Wl,-rpath,/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE
-L/usr/local/lib
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/DynaLoader/DynaLoader.a
-L/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE -lperl -lresolv -lnsl
-ldl -lm -lcrypt -lutil -lpthread -lc >&5
/usr/bin/ld: cannot find -lsensors
Guess we need to add a check for the "sensors" library found in linux
package lm_sensors and lm_sensors_devel
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2008-10-05 16:39 russell Status resolved => closed
======================================================================
More information about the asterisk-bugs
mailing list