Re: [tcljava-dev] New port problems
Brought to you by:
mdejong
From: Mo D. <md...@cy...> - 2001-02-28 19:33:01
|
On Wed, 28 Feb 2001, Pat Villani wrote: > I just finished porting tcljava to Tru64 v5.1 with jdk 1.2.2. Wasn't > easy, but got it to build. Now I'm running into an error when I try to > invoke jtclsh. I get an error from dlopen saying 'symbol > "JNI_GetCreatedJavaVMs" unresolved.' > > I found one in my java area. I added it to the jtclsh ld preload, but > it doesn't seem to work. Any ideas of what .so this should be in and > how to correctly get it to load? > > Pat First off, are you using 1.2.6 or the CVS version? You really should be using the CVS version for new ports. The JNI_GetCreatedJavaVMs thing means the JNI lib is not getting resolved by the runtime linker. If Tru64 works like the Soalris or Linux, then there should be a way to view the shared libs that a given shared lib depends on. Can you run something like: % ldd libtclblend.so What does that print? It should include a patch to your JNI libs in there somewhere. Also, double check that the LD_LIBRARY_PATH is set correctly, if the system does not know where to find the JNI shared libs at runtime, that can cause this error. Mo DeJong Red Hat Inc |