[vtkusers] ava.lang.UnsatisfiedLinkError: VTKInit

Jeff Lee jeff at cdnorthamerica.com
Tue Jan 22 08:21:57 EST 2002


what is your LD_LIBRARY_PATH?  it should include the path to mesa libs 
also if your system doesn't.
-Jeff

Peter J. Carr wrote:

> I am unable to run Regression.java after building the latest version 
> of VTK.
> Setup:      RedHat Linux 7.2
>    Sun JDK 1.3.1
>    Mesa 4.0.1
>
> I have set the LD_LIBRARY_PATH to the directory which contains the 
> vtk*.so files. The loadLibrary(...) methods all work without throwing 
> an exception. The error occurs during the constructor for 
> vtkRenderWindow. I added some print statements to track whether the 
> library gets loaded.
>
> $ java Regression
> loading vtk libraries...
> loading vtk libraries...Done!
> Exception in thread "main" java.lang.UnsatisfiedLinkError: VTKInit
>    at vtk.vtkRenderWindow.VTKInit(Native Method)
>    at vtk.vtkObject.<init>(vtkObject.java:97)
>    at vtk.vtkWindow.<init>(vtkWindow.java:166)
>    at vtk.vtkRenderWindow.<init>(vtkRenderWindow.java:358)
>    at Regression.main(Regression.java:24)
>
> Any help is greatly appreciated. The only oddness of my system is that 
> I uninstalled Mesa-3.* (rpm) and then installed Mesa-4 from source code.
>
> Thanks,
> Peter Carr
>
>
>
> _______________________________________________
> 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