Re: [tcljava-user] make install - 'Testing installed program' fails
Brought to you by:
mdejong
From: Mo D. <mo...@mo...> - 2008-11-14 23:53:05
|
Fra...@ti... wrote: > Hi! > > Sorry but we can't get it work. > > As far as we can see is all JAVA parameters set and point on our JAVA > 1.6 installation. > The ones to focus on are: JAVA_LIB_FLAGS = -L/local/tclblend/jdk/jre/lib/i386 -ljava -lverify -L/local/tclblend/jdk/jre/lib/i386/client -ljvm -L/local/tclblend/jdk/jre/lib/i386/native_threads -lhpi JAVA_LIB_RUNTIME_PATH = /local/tclblend/jdk/jre/lib/i386:/local/tclblend/jdk/jre/lib/i386/client :/local/tclblend/jdk/jre/lib/i386/native_threads These variables control where the system looks for shared libraries. I would bet that what is going on is the JDK 1.6 layout does not include one of these libs in the locations that are being searched. Could you try just running the following and see if you can get this working (these lib names might not be the exact ones on your system). % make shell load libhpi.so load libjvm.so load libjava.so load libtclblend.so If you can't load these libs at runtime, then the runtime lib search path is not correct. Also, check to make sure these libs actually exist in the jdk/jre/lib/i386/... or whatever dirs. Capture the output of the following and post it: cd /local/tclblend/jdk find . -name "*.so" cheers Mo DeJong |