Thanks ADAfrog!
Here is how I implemented that solution.
cd
nano .bashrc
scroll to bottom and paste these two lines
export LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH"
export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"
Press control-x to exit
Press y to save
Press enter to confirm save
nano .bash_profile
scroll to the bottom and paste
test -f ~/.bashrc && source ~/.bashrc
Press control-x to exit
Press y to save
Press enter to confirm save
sudo reboot
Reboot command will restart your machine.
Close and reopen your terminal window.
Wait a couple minutes then log back into your machine.
I could be wrong about the implementation, though. I’m a noob myself.