[vtkusers] VTK_USE_X OFF Test Failures

Biddiscombe, John A. biddisco at cscs.ch
Wed Sep 1 11:31:33 EDT 2010


Kevin

Interesting discovery. Did you look in the RenderingTests cmake to see if there was an obvious mistake anywhere. This double link might explain other odd link issues I've seen on machines from time to time (using paraview)

JB

-----Original Message-----
From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On Behalf Of Kevin H. Hobbs
Sent: 31 August 2010 20:17
To: vtk
Subject: [vtkusers] VTK_USE_X OFF Test Failures

I am now setting :

VTK_USE_X:BOOL=OFF

and I get a bunch of :

/home/kevin/kitware/VTK_OSMesa_Build/bin/RenderingCxxTests: error while loading shared libraries: libOSMesa.so.7: cannot open shared object
file: No such file or directory

http://www.cdash.org/CDash/buildSummary.php?buildid=709094

VTK's rendering library does link osmesa and has rpath set:

$ ldd VTK_OSMesa_Build/bin/libvtkRendering.so | grep libOSMesa.so
        libOSMesa.so.7 => /home/kevin/mesa_osmesa/lib/libOSMesa.so.7
(0x00007fd7ea509000)

but RenderingCxxTests links OSMesa again without rpath :

$ ldd VTK_OSMesa_Build/bin/RenderingCxxTests | grep libOSMesa.so
        libOSMesa.so.7 => not found
        libOSMesa.so.7 => /home/kevin/mesa_osmesa/lib/libOSMesa.so.7
(0x00007feadc134000)

These tests pass if I have libOSMesa.so in my LD_LIBRARY_PATH so these failures seem to be in error.







More information about the vtkusers mailing list