PyCharm ignoring LD_LIBRARY_PATH from .bashrc
When PyCharm is launched from the Start Menu or the Panel Launcher in Linux Mint 17 the LD_LIBRARY_PATH environment variable which I've set in the .bashrc file is ignored.
os.environ['LD_LIBRARY_PATH'] only shows the project directory.
However, if I launch PyCharm from the terminal everything is OK.
Does anyone know what is causing this?
EDIT: I would just like to add that adding the line
source ${HOME}/.bashrc
to the launcher script pycharm.sh does not help.
os.environ['LD_LIBRARY_PATH'] only shows the project directory.
However, if I launch PyCharm from the terminal everything is OK.
Does anyone know what is causing this?
EDIT: I would just like to add that adding the line
source ${HOME}/.bashrc
to the launcher script pycharm.sh does not help.
Please sign in to leave a comment.
You might want to put your LD_LIBRARY_PATH setting in .bash_profile then it will be applied when you log in.
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/366728