Hi guys,
I'm trying to use the snmpstats module but on kamailio initialization it shows me the error: kamailio: ERROR:core:sr_load_module: could not open module </usr/local/lib/kamailio/modules/snmpstats.so>: /usr/lib/libnetsnmpagent.so.10: undefine d symbol: make_tempfile
I've found in this lists a post asking to remove the follow line from Makefile: BUILDAGENTLIBS:=$(filter-out %netsnmpmibs, $(BUILDAGENTLIBS))
but this line doesn't exists.
Does anyone know how to fix that?
My system: Kamailio 1.4.2 notls CentOS 5 Kernel 2.6.18-92
Thanks in advance,
Noel
By default 'snmpstats' is excluded from compiled modules. Modify the Makefile for Kamailio, or specify the package on the command line or ENV.
I believe you'll need some snmp libraries as well.
:M
Noel R. Morais wrote:
Hi guys,
I'm trying to use the snmpstats module but on kamailio initialization it shows me the error: kamailio: ERROR:core:sr_load_module: could not open module </usr/local/lib/kamailio/modules/snmpstats.so>: /usr/lib/libnetsnmpagent.so.10: undefine d symbol: make_tempfile
I've found in this lists a post asking to remove the follow line from Makefile: BUILDAGENTLIBS:=$(filter-out %netsnmpmibs, $(BUILDAGENTLIBS))
but this line doesn't exists.
Does anyone know how to fix that?
My system: Kamailio 1.4.2 notls CentOS 5 Kernel 2.6.18-92
Thanks in advance,
Noel
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
On Monday 12 January 2009, Noel R. Morais wrote:
I'm trying to use the snmpstats module but on kamailio initialization it shows me the error: kamailio: ERROR:core:sr_load_module: could not open module </usr/local/lib/kamailio/modules/snmpstats.so>: /usr/lib/libnetsnmpagent.so.10: undefine d symbol: make_tempfile
I've found in this lists a post asking to remove the follow line from Makefile: BUILDAGENTLIBS:=$(filter-out %netsnmpmibs, $(BUILDAGENTLIBS))
but this line doesn't exists.
Does anyone know how to fix that?
Hi Noel,
can you check if this line really don't exist? I checked on my system, its present there:
$ cat branches/1.4/modules/snmpstats/Makefile -n |grep "filter" 18 BUILDAGENTLIBS:=$(filter-out %netsnmpmibs, $(BUILDAGENTLIBS))
Cheers,
Henning
Hi Henning,
thanks for your help.
I was looking at the kamailio Makefile and not in the snmpstats module Makefile.
What a shame!! haha
It worked,
Cheers
Noel
On Tue, Jan 13, 2009 at 8:27 AM, Henning Westerholt henning.westerholt@1und1.de wrote:
On Monday 12 January 2009, Noel R. Morais wrote:
I'm trying to use the snmpstats module but on kamailio initialization it shows me the error: kamailio: ERROR:core:sr_load_module: could not open module </usr/local/lib/kamailio/modules/snmpstats.so>: /usr/lib/libnetsnmpagent.so.10: undefine d symbol: make_tempfile
I've found in this lists a post asking to remove the follow line from Makefile: BUILDAGENTLIBS:=$(filter-out %netsnmpmibs, $(BUILDAGENTLIBS))
but this line doesn't exists.
Does anyone know how to fix that?
Hi Noel,
can you check if this line really don't exist? I checked on my system, its present there:
$ cat branches/1.4/modules/snmpstats/Makefile -n |grep "filter" 18 BUILDAGENTLIBS:=$(filter-out %netsnmpmibs, $(BUILDAGENTLIBS))
Cheers,
Henning
On Tuesday 13 January 2009, Noel R. Morais wrote:
thanks for your help.
I was looking at the kamailio Makefile and not in the snmpstats module Makefile.
What a shame!! haha
It worked,
Hi Noel,
ok, good. :-) I'll remove the line in question from the 1.4 branch and the trunk version.
Cheers,
Henning