[asterisk-bugs] [Asterisk 0016991]: [patch] Can't build asterisk using just --with-netsnmp... seems to always want to use CONFIG_NETSNMP
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Jul 1 10:46:47 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=16991
======================================================================
Reported By: pprindeville
Assigned To: twilson
======================================================================
Project: Asterisk
Issue ID: 16991
Category: Core/BuildSystem
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
Asterisk Version: 1.6.2.5
JIRA: SWP-1063
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2010-03-08 14:42 CST
Last Modified: 2010-07-01 10:46 CDT
======================================================================
Summary: [patch] Can't build asterisk using just
--with-netsnmp... seems to always want to use CONFIG_NETSNMP
Description:
It's issue 15714 all over again, only with netsnmp instead of curl this
time.
If you've built a different version of netsnmp (or patched it) and you
want to build against that, you can't.
Configure will attempt to find net-snmp-config and run that... which
might not be in any place it will likely be discovered... and ignores where
you've told 'configure' to actually find the headers and libraries.
======================================================================
----------------------------------------------------------------------
(0124159) twilson (administrator) - 2010-07-01 10:46
https://issues.asterisk.org/view.php?id=16991#c124159
----------------------------------------------------------------------
Yeah, the first example should fail. The second one should work (and does
as far as the patch is concerned). The problem is pretty clear from the
config.log:
uclibc/bin/ld: cannot find -lnetsnmphelpers
collect2: ld returned 1 exit status
configure:17736: $? = 1
There is either something wrong with your net-snmp install as it can't
find one of the libraries that net-snmp-config is returning as a value, or
it is possible that the wrong net-snmp-config is being called (though
unlikely since it shows it finding the one you specified at
/home/philipp/kernel/build_i586/root/usr/bin/net-snmp-config).
Can you give me the output of running net-snmp-config --agent-libs (via
the $PATH) and also via the alternate specified location? I want to make
sure that the alternate location is indeed returning -lnetsnmphelpers.
Issue History
Date Modified Username Field Change
======================================================================
2010-07-01 10:46 twilson Note Added: 0124159
======================================================================
More information about the asterisk-bugs
mailing list