Hi All<br><br>I&#39;ve compiled kamailio 3.2.0 with snmpstats module.<br>When trying to start the module I received the following message:<br><br> 0(28197) DEBUG: &lt;core&gt; [sr_module.c:515]: load_module: trying to load &lt;/usr/lib/kamailio/modules_k/<div id=":77">
snmpstats.so&gt;<br>
 0(28197) ERROR: &lt;core&gt; [sr_module.c:523]: ERROR: load_module: could not open module &lt;/usr/lib/kamailio/modules_k/snmpstats.so&gt;: /usr/lib/libnetsnmpagent.so.10: undefined symbol: boot_DynaLoader<br><br>I run it on CentOS 5.7<br>

<br>After digging Internet, I found the solution for the problem. I had 
to modify Makefile in snmpstats module&#39;s directory and recompile it. <br>I had to change BUILDAGENTLIBS env param<br><br>before change:<br><br>        BUILDAGENTLIBS =-L$(LOCALBASE)/lib -lnetsnmpmibs -lnetsnmpagent \<br>

                -lnetsnmphelpers -lnetsnmp <br><br>after change:<br><br>        BUILDAGENTLIBS =-L$(LOCALBASE)/lib -lnetsnmpmibs -lnetsnmpagent \<br>                -lnetsnmphelpers -lnetsnmp \<br>                -Wl,-E -Wl,-rpath,/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE \<br>

                -L/usr/local/lib /usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/DynaLoader/DynaLoader.a \<br>                -L/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE \<br>                -lperl -lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc \<br>

                -lwrap \<br>                -lsensors \<br>                -lrpmdb -lrpm<br><br>After that I successfully started snmpstats module.<br><br>I
 don&#39;t know why I didn&#39;t have compilation errors before adding this 
linking info, but got problem when trying to run compiled module. Can 
you explain it ?<br>
Do you know another way to solve the problem ? <br><br>Regards Adam</div>