PATH, LD_LIBRARY_PATH, etc. should be added in the .profile / .bashr_profile, rather than under .bashrc.
Because .bashrc is only valid for the current shell program and any other program will not read the file variable.
https://unix.stackexchange.com/questions/26047/how-to-correctly-add-a-path-to-path