Error while loading shared libraries: libjvm.so

Hi,

Hopefully, this is the right list for this problem. I am working on a computer that has Linux 2.6.20-1.2952.fc6. I am trying to deploy a program to a Sun SPOT using over-the-air functionality; however, I get the following message:

-pre-suite:

-do-suite:

[exec] /usr/java/SunSPOT/sdk/bin/squawk: errorwhile loading shared libraries: libjvm.so: cannot open shared object file: No such file or directory

BUILD FAILED

/usr/java/SunSPOT/sdk/ant/suite.xml:38: exec returned: 127

When I try to locate this file, I can see it in in the following locations:

/usr/java/jdk1.6.0_02/jre/lib/i386/client/libjvm.so

/usr/java/jdk1.6.0_02/jre/lib/i386/server/libjvm.so

How can I resolve this error?

Thanks,

Daniel

[814 byte] By [fokumdta] at [2007-11-27 10:27:14]
# 1

make sure to include one of those two directories in your LD_LIBRARY_PATH environment variable. Probably the client directory one. And only the directoy (i.e. that path minus the libjvm.so part).

masijade.a at 2007-7-28 17:44:20 > top of Java-index,Java Essentials,New To Java...