[vtkusers] Incompatible library version issue
Allen Sanderson
allen at sci.utah.edu
Mon Aug 4 17:10:39 EDT 2014
FWIW I found the issue …
When I built VTK with the R version, the VTK-6.1.0-build directory which was used previously without R should have blown away because it got corrupted. As such, the new version got installed into /usr/local/ which and had screwed up compatibility versions. I eventually did blow it away and build it correctly but the libs in /usr/local/ were taking precedence thus a mixed lib versions.
Cheers,
Allen
Allen Sanderson
SCI Institute
University of Utah
www.sci.utah.edu
On Aug 4, 2014, at 4:12 PM, Allen Sanderson <allen at sci.utah.edu> wrote:
> I have built VTK with support with R. That build went fine. Now I am linking against it with my app (VisIt) under OS X. However, I start VisIt but then it hangs because of a library version issue. The VisIt viewer wants 6.1.0 of the vtkpng library but thinks it is getting 1.0.0.
>
> However, otool says vtkpng is 6.1.0. I am not sure why there is an issue but it is odd?? Could it be that internal to the library there is some other setting that is causing the issue?
>
>
> 132% bin/visit
>
> dyld: Library not loaded: /Projects/VisIt/trunk/visit/vtk-r/6.1.0/i386-apple-darwin12_gcc-4.2/lib/libvtkpng-6.1.1.dylib
>
> Referenced from: /Projects/VisIt/trunk/src/exe/viewer.app/Contents/MacOS/viewer
>
> Reason: Incompatible library version: viewer requires version 6.1.0 or later, but libvtkpng-6.1.1.dylib provides version 1.0.0
>
>
> 133% otool -L /Projects/VisIt/trunk/visit/vtk-r/6.1.0/i386-apple-darwin12_gcc-4.2/lib/libvtkpng-6.1.1.dylib
>
> /Projects/VisIt/trunk/visit/vtk-r/6.1.0/i386-apple-darwin12_gcc-4.2/lib/libvtkpng-6.1.1.dylib:
>
> /Projects/VisIt/trunk/visit/vtk-r/6.1.0/i386-apple-darwin12_gcc-4.2/lib/libvtkpng-6.1.1.dylib (compatibility version 6.1.0, current version 6.1.0)
>
> /Projects/VisIt/trunk/visit/vtk-r/6.1.0/i386-apple-darwin12_gcc-4.2/lib/libvtkzlib-6.1.1.dylib (compatibility version 6.1.0, current version 6.1.0)
>
> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 169.3.0)
>
>
> I should note that I have built and used VTK without R support and did not have any issues. But at a loss on this issue. Any pointers would be helpful.
>
> Cheers,
>
> Allen
>
>
> Allen Sanderson
> SCI Institute
> University of Utah
> www.sci.utah.edu
> _______________________________________________
> 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://public.kitware.com/mailman/listinfo/vtkusers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20140804/29d9675b/attachment.html>
More information about the vtkusers
mailing list