|
Hello,
This question has been asked by someone else earlier too. I read those mails but was not convinced. So the question resurfaces.
I am developing a sub-agent and so I installed the source package of Net SNMP 5.1.1 I used the headers and libraries from this package to build my sub agent code. Build is fine. Now I try to execute this sub agent without explicitly specifying the new lib path I get a segmentation error (since my RedHat comes with an older version of Net SNMP5.0.6). So if I export the new lib path and then execute the sub agent it works alright.
In another machine with ditto same Linux installation I installed the ‘binaries package’ of Net SNMP 5.1.1. This is the rpm installation. The sub agent would not run in that machine and threw the error – ./my-subagent: relocation error: /usr/lib/libnetsnmpagent.so.5: undefined symbol: boot_DynaLoader
The size of libnetsnmpagent.so.5.1.1 from the ‘binaries package’ installation is 99980 bytes.
Now I installed the Net SNMP 5.1.1 ‘source package’ in this machine. After exporting the new lib path my-subagent works perfectly fine. The size of libnetsnmpagent.so.5.1.1 after installing the ‘source package’ is 364967 bytes. (this is nearly 3.65 times of the previous one).
I have a feeling that the binaries package (that is available for download from the sourceforge.net site) is not proper. How else would you explain this inconsistency? Some remedial action needs to be taken to correct this.
Thanks and warmest regards, Viren
|
- Re: Incompatability issue between the NetSNMP 5.1.1... Virender Singh Chauhan
