[vtkusers] VTK_USE_X OFF Test Failures

Kevin H. Hobbs hobbsk at ohiou.edu
Tue Aug 31 14:16:33 EDT 2010


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.




-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100831/d21f7a6b/attachment.pgp>


More information about the vtkusers mailing list