How to set LD_LIBRARY_PATH automatically during bootup

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to set LD_LIBRARY_PATH automatically during bootup

1,958 次查看
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 回复数

1,769 次查看
jimmychan
NXP TechSupport
NXP TechSupport

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

1,769 次查看
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 项奖励
回复