How to set LD_LIBRARY_PATH automatically during bootup

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to set LD_LIBRARY_PATH automatically during bootup

1,040件の閲覧回数
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.

ラベル(2)
タグ(1)
0 件の賞賛
返信
2 返答(返信)

851件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport

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

851件の閲覧回数
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 件の賞賛
返信