[Paraview] How to get rpath set

Cook, Rich cook47 at llnl.gov
Wed Nov 9 16:21:28 EST 2011


Thanks, I saw that, but I could not understand that page.  I am not a CMake programmer, and don't know what to set, what file to modify, etc.  There are so many directories and subdirectories in the paraview source tree, I'm lost.  I grepped through the source directories for "grep -ir rpath" and could not see where this was being done to reverse engineer anything.  Finally, I have changed my build scripts to just add the rpath back in using patchelf, an open source tool.  It's easier to build and run that than it is to modify cmake's config files from where I sit.  :-|

On Nov 9, 2011, at 10:55 AM, David Partyka wrote:

This is where I look for answer to rpath related questions, I believe one of the few variables in this wiki will do what you want.

http://www.vtk.org/Wiki/CMake_RPATH_handling

On Wed, Nov 9, 2011 at 1:48 PM, Cook, Rich <cook47 at llnl.gov<mailto:cook47 at llnl.gov>> wrote:
I know there is a religious answer to this, but I want to have rpath set in my binaries after install, for our osmesa backends.  I'm wrong and bad for this, I accept all blame and shame, but I want to do it anyhow.  The default Paraview install stubbornly insists on stripping all the rpaths out at install time, which is quite depressing.  Even worse, I know I've asked this before and I cannot find an answer in my archives or with Google.  :-(
What would be the easiest way to do this?  Can I do this by setting a CMake variable?
Thanks!

--
✐Richard Cook
✇ Lawrence Livermore National Laboratory
Bldg-453 Rm-4024, Mail Stop L-557
7000 East Avenue,  Livermore, CA, 94550, USA
☎ (office) (925) 423-9605<tel:%28925%29%20423-9605>
☎ (fax) (925) 423-6961<tel:%28925%29%20423-6961>
---
Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept.
(opinions expressed herein are mine and not those of LLNL)



_______________________________________________
Powered by www.kitware.com<http://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 ParaView Wiki at: http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


--
✐Richard Cook
✇ Lawrence Livermore National Laboratory
Bldg-453 Rm-4024, Mail Stop L-557
7000 East Avenue,  Livermore, CA, 94550, USA
☎ (office) (925) 423-9605
☎ (fax) (925) 423-6961
---
Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept.
(opinions expressed herein are mine and not those of LLNL)



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20111109/e83bb43c/attachment-0001.htm>


More information about the ParaView mailing list