<div dir="ltr">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.<div> <br></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Apr 23, 2013 at 11:34 AM, Sebastien Jourdain <span dir="ltr"><<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi <span style="font-family:arial,sans-serif;font-size:13px">Ilan,</span><div><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div><div><span style="font-family:arial,sans-serif;font-size:13px">I just remember that linux was not behaving the same way as other OS.</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px">But you should have only one </span><span style="font-family:arial,sans-serif;font-size:13px">libjawt.so in your LD_LIBRARY_PATH otherwise, you may run into issue as well.</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">I know that sometime, I had to set my LD_LIBRARY_PATH like that.</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">export </span><span style="font-family:arial,sans-serif;font-size:13px">LD_LIBRARY_PATH=$VTK_HOME/lib:$JAVA_HOME/jre/xlib </span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px">java -cp ... myApp</span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra">
<br>
<br><div class="gmail_quote">On Tue, Apr 23, 2013 at 9:03 AM, Ilan <span dir="ltr"><<a href="mailto:ilan.tal@gmail.com" target="_blank">ilan.tal@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Seb,<br>
As usual your replies are most helpful. I looked around and found 4<br>
different locations of libjawt.so. Two of them should be on my paths, so it<br>
wouldn't matter which one it would pick up.<br>
<br>
What is unclear to me is how does it know that JAWT_GetAWT means to go to<br>
libjawt.so? It says that it doesn't find the symbol and I can't find it<br>
either. What you say is eminently reasonable, i.e. go to libjawt.so, but how<br>
does the program know this?<br>
<br>
I could copy over libjawt.so to the same directory where the vtk .so files<br>
are located. If it somehow knew to use it, then it would either solve the<br>
problem or go down one level deeper. I suppose it is worth a try but it is a<br>
real mystery to me how it could figure out the riddle.<br>
<br>
Thanks,<br>
Ilan<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/is-this-a-bug-should-I-file-it-somewhere-tp5720281p5720305.html" target="_blank">http://vtk.1045678.n5.nabble.com/is-this-a-bug-should-I-file-it-somewhere-tp5720281p5720305.html</a><br>
<div><div>Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>