I'm running RHEL 7.4 with bash shell and GNOME Terminal and am trying to figure out why
LD_LIBRARY_PATH contains paths to certain directories. I removed
~/.bash_profile but after restarting the terminal I find that
LD_LIBRARY_PATH is still populated.
More peculiar is that
LD_LIBRARY_PATH contains paths to locations which I've created like
/home/jodag/my_local/lib. I thought deleting
.bashrc would stop these values from being loaded but it hasn't.
Is there a way to list all the scripts being executed when the terminal starts, or possibly some other way to track down what is setting my
LD_LIBRARY_PATH environment variable?