Hi,
Make sure that you build dbStaticJava.
Also, make sure that your CLASSPATH
environment variable is set properly.
For example,
export
CLASSPATH=.:${EPICS_EXTENSIONS}/javalib
Thanks,
******************************************* Ernest L. Williams
Jr. SNS Control Systems Group, ORNL 701 Scarboro Rd., MS 6473 Oak
Ridge, TN 37830 Phone 865-241-9071 e-mail: [email protected]Fax
865-574-4799 ******************************************
----- Original Message -----
Sent: Tuesday, December 10, 2002 3:44
AM
Subject: jdct run-time error
hi,all
I have built jdct on RedHat linux sucessfully,but when I try
to run it,the following error is encountered:
----------
Exception in thread "main" java.lang.UnsatisfiedLinkError:
/usr/local/epics/extensions/lib/linux-x86/libdbStatic.so:
/usr/local/epics/extensions/lib/linux-x86/libdbStatic.so: undefined symbol:
dbDumpFldDes at
java.lang.ClassLoader$NativeLibrary.load(Native
Method) at
java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1480)
at
java.lang.ClassLoader.loadLibrary(ClassLoader.java:1404)
at
java.lang.Runtime.loadLibrary0(Runtime.java:772)
at
java.lang.System.loadLibrary(System.java:832)
at
dbStatic.DbBase.<clinit>(DbBase.java:71)
at
jdct.JdctMenu.<init>(JdctMenu.java:28)
at
jdct.JdctFrame.<init>(JdctFrame.java:43)
at jdct.Jdct.main(Jdct.java:19) --------------
I have installed java sdk 1.4.0_01, and set the eviroment
variable PATH and LD_LIBRARY_PATH properly. what's the proble
now?
any suggestions are appreciated.
Shao Mingchao
Tsinghua University
Beijing 100084
P.R.China
|