Did some more investigating (I'm learning alot more about dynamic linking than I ever wanted to know).<br><br>emerald0> ldd -r ezVizGeneric (ezVizGeneric is the real program I want to compile, loooots of linked libraries)
<br>Unresolved symbol in libvtkVolumeRendering.so: __array_new2<br>Unresolved symbol in libvtkGraphics.so: __array_new2<br>Unresolved symbol in libvtkImaging.so: __array_new2<br>Unresolved symbol in libvtkCommon.so: __array_new2
<br><br>emerald0> ldd -r vtk2xml (Simpler program, fewer libraries but all of VTK)<br>Unresolved symbol in libvtkVolumeRendering.so: __array_new2<br>Unresolved symbol in libvtkGraphics.so: __array_new2<br>Unresolved symbol in
libvtkImaging.so: __array_new2<br>Unresolved symbol in libvtkCommon.so: __array_new2<br><br>emerald0> ldd -r main (Simplest program, direct link to only VTK, not ezViz or Xdmf/Xmdf or any of that)<br>Unresolved symbol in
libvtkGraphics.so: __array_new2<br>Unresolved symbol in libvtkImaging.so: __array_new2<br>Unresolved symbol in libvtkCommon.so: __array_new2<br><br>So has somethign changed in the 5.0 VTK branch that would cause this kind of problem? I seem to remember some discussion of now using "new/delete" instead of "malloc/free" in the DataArray stuff. Is this related?
<br><br><div><span class="gmail_quote">On 2/23/06, <b class="gmail_sendername">Randall Hand</b> <<a href="mailto:randall.hand@gmail.com">randall.hand@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I've been working on this for 2 days, and I'm running out of ideas. I can compile VTK just fine on our SC45, no errors at all, using cxx/cc and Shared libraries. I can compile applications that use these freshly compiled VTK libraries just fine, with no errors.
<br><br>But every time I try to run them I get the following error:<br><div style="margin-left: 40px;">emerald0> ./vtk2xml<br>resolve_symbols: loader error: dlopen: libvtkVolumeRendering.so: symbol "__array_new2" unresolved
<br></div><br>I've tried compiling them as static, and while they compile just fine, when apps try to link against them I get errors about no table of contents on every single .a file. Anyone have any idea what's going on here? I'm using Cmake
2.0p6, as there are no binaries provided for 2.2.3 and the bootstrap won't work.<br clear="all"><span class="sg"><br>-- <br>Randall Hand<br>Visualization Scientist, <br>ERDC-MSRC Vicksburg, MS<br>Homepage: <a href="http://www.yeraze.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.yeraze.com</a>
</span></blockquote></div><br><br clear="all"><br>-- <br>Randall Hand<br>Visualization Scientist, <br>ERDC-MSRC Vicksburg, MS<br>Homepage: <a href="http://www.yeraze.com">http://www.yeraze.com</a>