boberfly / GafferCycles

Cycles for Gaffer
BSD 3-Clause "New" or "Revised" License
85 stars 10 forks source link

changing LD_LIBRARY_PATH can brokeOS python function #17

Closed willDTF closed 5 years ago

willDTF commented 5 years ago

on our system (centos), because of our remote connexion tool, we cant allow any change on OS system variable changing LD_LIBRARY_PATH have broke all python (even yum) run by centos

potential solution : create a gaffer specific variable like GFR_LD_LIBRARY_PATH

boberfly commented 5 years ago

Hi @Kaiz3rTool Have you tried something like: export LD_LIBRARY_PATH=/some/path/to/custom/libs:$LD_LIBRARY_PATH to merge multiple paths instead of overriding it?

Also I don't recall needing to override it for GafferCycles, are you looking in the standalone Gaffer launcher script? There can't be a custom one because it is a Linux-specific environment variable to find custom libraries outside of system ones.

willDTF commented 5 years ago

I haven't tried it for now, I was planning to test it before I realize that the problem may come from me, as I have setup compile variable permanently even if I use the compiled one, so it seems I've made a useless (and buggy) setup

boberfly commented 5 years ago

All good, yeah it sounded a bit strange... :)