I have some custom libraries and executables. In some of the linux distributions in .bashrc file I can set or add custom path by adding export and path.
I am using iMX287 EVK from freescale.
I want to add path to custom libraries using LD_LIBRARY_PATH environment path variable (i.e want to set this variable) automatically during bootup.
How I can do this? rc.conf can be used or not?