There's a simple way to manage your environment variables mess , and it's called module:
in the download section you can find the dnPtcViewerNode ,the open source pice of software provided by double negative, recompiled for 3delight 8.5 & maya2008 under linux , the source is slighty modified to make it compile and run.