Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

libnetsnmpj.so: cannot open shared object file

18 views
Skip to first unread message

TCMA

unread,
Jul 30, 2004, 1:43:00 PM7/30/04
to
Installing net-snmp is ok.
$ emerge net-snmp

Then download, gunzip and untar netsnmpj-0.2.1 files.

$ cd /home/tcma/netsnmpj-0.2.1

$ java -Djava.library.path=linux-i386 -cp netsnmpj.jar
org.netsnmp.swingui.snmpget
java -Djava.library.path=linux-i386 -cp netsnmpj.jar
org.netsnmp.swingui.snmpget
java.lang.UnsatisfiedLinkError:
/home/tcma/netsnmpj-0.2.1/linux-i386/libnetsnmpj.so:
/home/tcma/netsnmpj-0.2.1/linux-i386/libnetsnmpj.so: cannot open
shared object file: No such file or directory
##
## Could not find the netsnmpj library.
## Please check your java.library.path setting.
## Currently java.library.path is set to:
## linux-i386


$ java -Djava.library.path=linux-i386 org.netsnmp.examples.GetSysDescr
192.168.0.50 public
java.lang.UnsatisfiedLinkError:
/home/tcma/netsnmpj-0.2.1/linux-i386/libnetsnmpj.so:
/home/tcma/netsnmpj-0.2.1/linux-i386/libnetsnmpj.so: cannot open
shared object file: No such file or directory
##
## Could not find the netsnmpj library.
## Please check your java.library.path setting.
## Currently java.library.path is set to:
## linux-i386


Versions:
linux gentoo 2.6.7-r8 AMD64 x86_64
sun-jdk-1.5.0_beta2
net-snmp-5.0.9-r1
netsnmpj-0.2.1

0 new messages