[prev in list] [next in list] [prev in thread] [next in thread]
List: rxtx
Subject: [Rxtx] Problem of RXTX 2.1 in IRIX:cannot map soname
From: Q Ma <s0343497 () sms ! ed ! ac ! uk>
Date: 2004-07-20 11:16:05
Message-ID: 1090322165.40fcfef566cfc () sms ! ed ! ac ! uk
[Download RAW message or body]
Hi, there
I want to use RXTX in IRIX for my java program to read stream from COM1/2.
I download the package: rxtx-2.1-7pre17-i686-pc-linux-gnu.tar.gz,
which contain RXTXcomm.jar file and five share library .so file.
and set up all variants: CLASSPATH, LD_LIBRARY_PATH, and even
-Djava.library.path option.
There is no problem for javac compile now.
However, when I run the program, there is error:
java.lang.UnsatisfiedLinkError: /usr/people/qi/rxtx/librxtxSerial.so:
260309:java: rld: Fatal Error: Cannot Successfully map soname
'/usr/people/qi/rxtx/librxtxSerial.so' under any of the filenames
/usr/people/qi/rxtx/librxtxSerial.so thrown while loading
gnu.io.RXTXCommDriver
Exception in thread "main" java.lang.UnsatisfiedLinkError:
/usr/people/qi/rxtx/librxtxSerial.so: 260309:java: rld: Fatal Error: Cannot
Successfully map soname '/usr/people/qi/rxtx/librxtxSerial.so' under any of the
filenames /usr/people/qi/rxtx/librxtxSerial.so
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1469)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1397)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:832)
at gnu.io.CommPortIdentifier.<clinit>(CommPortIdentifier.java:83)
at Controllor.<init>(Controllor.java:91)
at Controllor.main(Controllor.java:320)
The JDK I use is 1.4.
I don't know what the problem is, can anyone give some ideas?
Thank you very much.
Best Regards
Richard
_______________________________________________
Rxtx mailing list
Rxtx@linuxgrrls.org
http://mailman.linuxgrrls.org:8080/mailman/listinfo/rxtx
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic