[Home]

Summary:ASTERISK-08774: configure --with-snmp uses net-snmp-config --agent-libs instead of --libs
Reporter:puzzled (puzzled)Labels:
Date Opened:2007-02-11 10:57:05.000-0600Date Closed:2007-02-21 21:55:28.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:On FC6/RHEL4/CentOS4 if you do configure --with-netsnmp it fails because it uses the wrong libraries.

Around line 20775 in configure:
NETSNMP_libs=`${NETSNMP_CONFIG} --agent-libs`

Should be to make the check succeed on FC6/RHEL4/CentOS4:
NETSNMP_libs=`${NETSNMP_CONFIG} --libs`
Comments:By: Leif Madsen (lmadsen) 2007-02-21 20:18:41.000-0600

Do you have all of these installed? Because I have FC6, and with the following installed it compiles fine:

   * net-snmp-devel
   * newt-devel
   * lm_sensors-devel
   * bzip2-devel

This is probably a dependency issue.

By: Joshua C. Colp (jcolp) 2007-02-21 21:55:27.000-0600

Closing this out per blitzrage's comments. He was able to get it building fine using an unmodified configure as soon as he installed the dependencies.