[vtkusers] Error with Running Java SimpleVTK

Xinzi Wu xinxin at sciencesoft.net
Mon May 27 02:45:06 EDT 2002


I added the full path of the directory containing all the VTK shared
libraries (<my_VTK_installation_dir>/VTK/bin) to both PATH and
LD_LIBRARY_PATH environmental variables, but I still got the same error...

Xinzi

----- Original Message -----
From: "Dale Greer" <dmgreer at airmail.net>
To: <vtkusers at public.kitware.com>
Sent: Sunday, May 26, 2002 23:54
Subject: Re: [vtkusers] Error with Running Java SimpleVTK


> On Windows 2K, I got the same error before I added vtk40/bin to the system
> PATH variable. I don't know what the equivalent is on Solaris, though.
>
> Dale
>
> ----- Original Message -----
> From: "Xinzi Wu" <xinxin at sciencesoft.net>
> To: <vtkusers at public.kitware.com>
> Sent: Monday, May 27, 2002 12:18 AM
> Subject: [vtkusers] Error with Running Java SimpleVTK
>
>
> Hi All,
>
> I downloaded VTK nightly release (on May 2, 2002) and built it with Java
> 1.4.0 on Solaris (sparc) 8. But when I tried run the SimpleVTK test came
> with the nightly distribution, I got the following error:
>
> Exception in thread "main" java.lang.UnsatisfiedLinkError:
> /user/home/xccbond/vtk_May_2_2002/VTK/vtkbin/bin/libvtkCommonJava.so:
> ld.so.1: java: fatal: relocation error: file
> /user/home/xccbond/vtk_May_2_2002/VTK/vtkbin/bin/libvtkCommonJava.so:
symbol
> _pure_error_: referenced symbol not found
>         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 vtk.vtkPanel.<clinit>(vtkPanel.java:24)
>         at SimpleVTK.<init>(SimpleVTK.java:19)
>         at SimpleVTK.main(SimpleVTK.java:49)
>
> The C/C++ compiler that I eventually specified for CMake to use is the Sun
> Workshop Compilers C/C++ 4.2. I also have gcc installed on my machine. But
I
> can't get the CMake (1.2) to work with gcc, because I always got the error
> message "configure error: can not run test program while cross compiling"
> when I started CMake.
>
> Please help!!
>
> Thanks a lot,
> Xinzi
>
>
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>




More information about the vtkusers mailing list