How to set LD_LIBRARY_PATH automatically during bootup

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to set LD_LIBRARY_PATH automatically during bootup

903 Views
kirannevaskar
Contributor II

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?

Thanks.

Labels (2)
Tags (1)
0 Kudos
2 Replies

714 Views
jimmychan
NXP TechSupport
NXP TechSupport

yes, you can. or you can use rc.local

714 Views
kirannevaskar
Contributor II

Thanks.

Typically shell executable commands can be placed here but is it possible to set environment variables here?

How we can set them?

0 Kudos