 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
TCMA Guest
|
Posted: Fri Jul 30, 2004 5:43 pm Post subject: libnetsnmpj.so: cannot open shared object file |
|
|
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
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|