[vtkusers] VTK build w/o RPATH for LD_LIBRARY_PATH override

Ade Fewings ade at techniumcast.com
Tue Jan 9 06:09:15 EST 2007


Hello

I'm trying to build VTK such that I can use LD_LIBRARY_PATH to pick up a 
different libGL as required at runtime.  I've been building with Shared 
Libs on and Use_RPATH off, but am still getting binaries out that refuse 
to follow LD_LIBRARY_PATH and so seem to be 'hard-wired' to the system's 
libGL in /usr/lib.  I have shown that other binaries (non VTK) are being 
overridden correctly by this, but VTK binaries refuse.  Can anybody shed 
any light on this?  Is it something I am doing wrong with cmake?

Thanks
Ade
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070109/92fa28a1/attachment.htm>


More information about the vtkusers mailing list