OK, got SNMP module made, but run into the following
problem when I try to "require" the module.
from irb:
require "snmp.so"
results in this error message:
LoadError: libsnmp-0.4.2.so: cannot open shared object file:
No such file or directory - /usr/local/lib/ruby/1.6/i686-linux/snmp.so
(irb):1:in 'require'
(irb):1:in 'irb_binding'
I get the same thing if I put require "snmp.so" in filename and run 'ruby
filename'.
I tried, snmp.o and snmp.so.
In /usr/local/lib/ruby/1.6/i686-linux, ls -la includes:
-r-xr-xr-x 1 root root snmp.so*
(placed there by the SNMP module make install)
In /usr/local/ucd-snmp/snmplibs/.libs, ls -la includes:
-rwxr-xr-x 1 root root libsnmp-0.4.2.so*
lrwxrwxrwx 1 root root libsnmp.so -> libsnmp-0.4.2.so*
(placed here by UCD-SNMP make install)
Can someone tell me what Ruby is complaining about?
Richard