[Paraview] cmake removing rpath

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Tue Feb 28 10:22:07 EST 2012


This might help too:
http://nixos.org/patchelf.html

Utkarsh

On Tue, Feb 28, 2012 at 7:18 AM, Peter Brady <petertbrady at gmail.com> wrote:
> Hi Burlen,
>
> Thanks for the help.  The wrapper script solved my problem.  Although, I
> would still like to know how to "officially" set the correct paths using
> rpath to avoid the proliferation of shell scripts on my machine.
>
> Thanks,
> Peter.
>
>
> On Fri, Feb 24, 2012 at 5:07 PM, Burlen Loring <bloring at lbl.gov> wrote:
>>
>> On 02/24/2012 01:22 PM, Peter Brady wrote:
>>
>> If I set my LD_LIBRARY_PATH to include my 7.5.2 Mesa libraries then
>> offscreen rendering works fine.  However, I don't want my system as a whole
>> to use my separate Mesa libraries; only Paraview.
>>
>> Hi Peter,
>>
>> I don't know the rpath settings but I have a couple of easy alternatives
>> if all you want to do is modify ld lib path for PV without affecting other
>> installed apps. What about starting pv with a shell script? eg.
>>
>> #!/bin/bash
>> export LD_LIBRARY_PATH=/path/to/your/osmesa:$LD_LIBRARY_PATH
>> /path/to/your/pvpython $*
>>
>>
>> the modules package is also very useful for changing paths on the fly.
>>
>> Burlen
>
>
>
>
> --
> Peter Brady, Ph.D.
> Postdoctoral Research Associate
>
> Sibley School of Mechanical and Aerospace Engineering
> Cornell University
> 191 Grumman Hall
> Ithaca, NY 14853-7501
> peter.brady at cornell.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 ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>


More information about the ParaView mailing list