I need to run an application which only runs properly if LD_LIBRARY_PATH contains a specific path. When I run that app from the command line, after I export LD_LIBRARY_PATH, the app runs properly.
I've added the export line to /etc/bash.bashrc, and it appears that all terminals I open do have the LD_LIBRARY_PATH properly set. With this, it became possible to run the app from any terminal without having to set the LD_LIBRARY_PATH first.
Unfortunately, in spite of the environment variable being set in each terminal, running the app by clicking an icon from the menu doesn't work, as the app throws an error message telling the user to properly set LD_LIBRARY_PATH.
So, my question is: does anyone know how to set LD_LIBRARY_PATH so that it's possible to run apps from the menu?