<div dir="ltr">Hi Ben,<div><br></div><div>Linux doesn't see new libraries in /usr/local/lib until you run 'ldconfig'.</div><div><br></div><div> - David</div><div><br><div class="gmail_quote"><div dir="ltr">On Thu, Sep 20, 2018 at 10:07 AM BBerco <<a href="mailto:bebe0705@colorado.edu">bebe0705@colorado.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I've encountered a strange behavior of VTK 8.1.1 on Ubuntu 18.04.1 LTS.<br>
Namely, even the simple examples such as that of GetMiscCellData on Bill<br>
Lorensen's website fail like so:<br>
<br>
1. `cmake .. ` from build directory : no problem, VTK found,<br>
${VTK_LIBRARIES} contains the list of all the libraries to be loaded<br>
2. `make` : the build completes smoothly and the linker does not complain<br>
3. `.\GetMiscCellData` fails, with the error message : [...] error while<br>
loading shared libraries:  libvtkIOXMLParser-8.1.so.1 : cannot open shared<br>
object file: No such file or directory"<br>
<br>
What is extremely puzzling is that running ldd on the created executable<br>
shows that SOME of the VTK libraries were found (libvtkIOXML-8.1.so.1 for<br>
instance), while others were not (like libvtkIOXMLParser-8.1.so.1) . What is<br>
even more puzzling is that all these shared libraries exists in<br>
\usr\local\lib\ ! <br>
<br>
I have no idea what's going on. Any advice?<br><br>
</blockquote></div></div></div>