[Paraview] Cmake and RPATH

Jacques Papper jpapper at ara.co.uk
Wed Jan 21 07:18:44 EST 2009


Hi all, 

I'm having a problem running paraview when compiling it with a new version
of my compiler.
The compiler I am using is installed in a non common directory. The
compilation goes through without a problem, but when I run ParaView I get
the following :

/usr/lib64/libstdc++.so.6: version `CXXABI_1.3.1' not found (required by
/usr/people/papper/PARAVIEW/ParaView3-64-bin/bin/libvtkPVServerCommon.so)

This is because it should pickup another version of libstdc++.so.6 which is
not in /usr/lib64 but in my LD_LIBRARY_PATH

When I do objdump -p paraview I get the following :

RPATH       BLABLABLA...:/usr/lib64:BLABLABLA...

My question is : How do I get CMAKE (v2.4.6) to not use RPATH ?

Thanks for any help.

Jacques PAPPER
Applied CFD Team Leader
Tel: +44 (0) 1234 324677


---------------------------
This email contains information that is private and confidential and is intended only for the addressee.  If you are not the intended recipient please delete it and notify us immediately by e-mailing the sender.
Note: All email sent to or from this address may be accessed by someone other than the recipient, for system management and security reasons.
Aircraft Research Association Ltd.  Registered in England, Registration No 503668 Registered Office: Manton Lane, Bedford MK41 7PF England VAT No GB 196351245




More information about the ParaView mailing list