libnetsnmpj.so: cannot open shared object file

T

TCMA

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,045
Latest member
DRCM

Latest Threads

Top