Ok, I just downloaded
netsnmpj to read the INSTALL file. I ran the demo and got a linker error due to my not having net-snmp installed. Fine.
The libnetsnmpj.so I have has different link dependencies than yours:
tom@deathstar:~/netsnmpj-0.2.1/linux-i386$ ldd libnetsnmpj.so
linux-gate.so.1 => (0xffffe000)
libnetsnmp.so.5 => not found
libcrypto.so.2 => not found
libnetsnmpagent.so.5 => not found
libnetsnmphelpers.so.5 => not found
libnetsnmpmibs.so.5 => not found
libdl.so.2 => /lib/libdl.so.2 (0xb7f3d000)
librpmdb-4.1.so => not found
librpm-4.1.so => not found
librpmio-4.1.so => not found
libpopt.so.0 => /usr/lib/libpopt.so.0 (0xb7f37000)
libz.so.1 => /usr/lib/libz.so.1 (0xb7f22000)
libm.so.6 => /lib/libm.so.6 (0xb7efd000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7ee9000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0xb7e31000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb7e26000)
libc.so.6 => /lib/libc.so.6 (0xb7d02000)
/lib/ld-linux.so.2 (0x80000000)
tom@deathstar:~/netsnmpj-0.2.1/linux-i386$
As you can see, libsensors isn't listed. Perhaps it's not listed since I don't have net-snmp installed. It doesn't look like netsnmpj is being supported since the mailing list archives don't seem very active.
Are you able to run the netsnmpj demos ok?
tom@deathstar:~/netsnmpj-0.2.1$ java -Djava.library.path=linux-i386 -cp netsnmpj.jar org.netsnmp.swingui.snmpget
java.lang.UnsatisfiedLinkError: /home/tom/netsnmpj-0.2.1/linux-i386/libnetsnmpj.so: libnetsnmp.so.5: cannot open shared object file: No such file or directory
##
## could not find libnetsnmp.so. Please checked your LD_LIBRARY_PATH setting(unix/linux
## or your PATH setting under MS-Windows. It may also be that
## net-snmp does not appear to be installed. If so, please install net-snmp 5.0.7 or higher
## before proceeding further. See
http://net-snmp.sourceforge.net
##
tom@deathstar:~/netsnmpj-0.2.1$
Peace...