On Tue, 10 Aug 1999, rob ratcliff wrote:
I was able to compile and run Tcl Blend on an IRIX 6.2 box. I was
using the egcs compiler with the 32 bit libs (gcc kind of works
in 64 bit mode but it was a bit of a hack).
> Has anybody successfully installed Java Blend on IRIX 6.5 and JDK 1.2?
The Tcl Blend code did not even compile? I have had problems
loading libtclblend.so but it always compiled.
> I managed to brutually hack up the configure file and got the
> code to compile but I get a load error when loading the
> libtclblend.so file.
>
> Thanks,
>
> Rob Ratcliff
>
>
> Here's the last part of the installation process which failed:
>
Oh, it looks like you are using Tcl 8.1. I have only tried it on
IRIX with Tcl 8.0. These "definition preempts ..." warnings did
not seem to break anything when I ran the code.
> ld32: WARNING 85: definition of Tcl_DiscardResult in tclResult.o preempts
> that definition in
> /usr3/people/rrr6399/tk/tcl8.1/tcl8.1.1/unix/libtcl8.1.so.
Perhaps you need to set the LD_LIBRARY_PATH env var that works for
32 bit objects. I can not remember what it is called off the top of
my head, but I think it is something like LD32_LIBRARY_PATH or
LD_LIBRARY32_PATH. You might also want to try the LD_PRELOAD and
BIND_NOW env vars in the makefile. Under early versions of the
Linux port of the JDK this workaround was required. See the comments
in the makefile about the linux hack.
> ld32: WARNING 129: Cannot find libjvm.so, which is needed for proper
> transitive linking.
> Use -quickstart_info for more information.
> ld32: WARNING 129: Cannot find libirixextra.so, which is needed for
> proper transitive linking.
> Use -quickstart_info for more information.
> make[1]: Leaving directory
> `/usr3/people/rrr6399/tk/tcl8.1/tclBlend1.2.4/unix'
> #
> # Installing tclblend
> #
> Installing libtclblend.so in /usr/local/opt/tclBlend1.2.4/lib
> Installing tclblend.jar in /usr/local/opt/tclBlend1.2.4/lib
> Installing pkgIndex.tcl in /usr/local/opt/tclBlend1.2.4/lib/tclblend
> Installing jtclsh in /usr/local/opt/tclBlend1.2.4/bin
> Installing jwish in /usr/local/opt/tclBlend1.2.4/bin
> Testing installed program
> Attempting to figure out why "load libtclblend.so" failed
> currently LD_LIBRARY_PATH is set to
>
>"/usr/local/java/java2/usr/java/lib32/sgi:/usr/local/java/java2/usr/java/lib32/sgi/native_threads:/usr/local/java/java2/usr/java/lib32/sgi/classic:/usr/local/opt/tclBlend1.2.4/lib:/usr/lib32:"
> found libtclblend.so on LD_LIBRARY_PATH at
> "/usr/local/opt/tclBlend1.2.4/lib/libtclblend.so".
> found libjava.so on LD_LIBRARY_PATH at
> "/usr/local/java/java2/usr/java/lib32/sgi/libjava.so".
> found libpthread.so on LD_LIBRARY_PATH at "/usr/lib32/libpthread.so".
> "package require java" failed with the following error
> "load libtclblend.so" failed:
> JNI_CreateJavaVM failed
> /bin/sh: 306226 Killed
> Test failed ... you may need to edit
> /usr/local/opt/tclBlend1.2.4/bin/jtclsh by hand to set the correct paths
>
>
----------------------------------------------------------------
The TclJava mailing list is sponsored by WebNet Technologies.
To subscribe: send mail to [EMAIL PROTECTED]
with the word SUBSCRIBE as the subject.
To unsubscribe: send mail to [EMAIL PROTECTED]
with the word UNSUBSCRIBE as the subject.
To send to the list, send email to '[EMAIL PROTECTED]'.
A list archive is at: http://www.findmail.com/listsaver/tcldallas/