[vtkusers] is this a bug? should I file it somewhere?

Sebastien Jourdain sebastien.jourdain at kitware.com
Tue Apr 23 11:38:38 EDT 2013


The reason is when you build vtk with the Java wrapping, the rendering
library get linked to the jawt library, then at runtime, you need to make
sure it find it again.



On Tue, Apr 23, 2013 at 11:34 AM, Sebastien Jourdain <
sebastien.jourdain at kitware.com> wrote:

> Hi Ilan,
>
> I just remember that linux was not behaving the same way as other OS.
> But you should have only one libjawt.so in your LD_LIBRARY_PATH
> otherwise, you may run into issue as well.
>
> I know that sometime, I had to set my LD_LIBRARY_PATH like that.
>
> export LD_LIBRARY_PATH=$VTK_HOME/lib:$JAVA_HOME/jre/xlib
> java -cp ... myApp
>
>
>
> On Tue, Apr 23, 2013 at 9:03 AM, Ilan <ilan.tal at gmail.com> wrote:
>
>> Hi Seb,
>> As usual your replies are most helpful. I looked around and found 4
>> different locations of libjawt.so. Two of them should be on my paths, so
>> it
>> wouldn't matter which one it would pick up.
>>
>> What is unclear to me is how does it know that JAWT_GetAWT means to go to
>> libjawt.so? It says that it doesn't find the symbol and I can't find it
>> either. What you say is eminently reasonable, i.e. go to libjawt.so, but
>> how
>> does the program know this?
>>
>> I could copy over libjawt.so to the same directory where the vtk .so files
>> are located. If it somehow knew to use it, then it would either solve the
>> problem or go down one level deeper. I suppose it is worth a try but it
>> is a
>> real mystery to me how it could figure out the riddle.
>>
>> Thanks,
>> Ilan
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://vtk.1045678.n5.nabble.com/is-this-a-bug-should-I-file-it-somewhere-tp5720281p5720305.html
>> Sent from the VTK - Users mailing list archive at Nabble.com.
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130423/aa96f252/attachment.htm>


More information about the vtkusers mailing list