这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@2096779623
Copy link
Member

I think we'll need it at some point.

@truboxl
Copy link
Contributor

truboxl commented Feb 2, 2023

I think include all the env variables also

@2096779623
Copy link
Member Author

2096779623 commented Feb 2, 2023

I think include all the env variables also

I also want to do it , but it maybe too long.

@truboxl
Copy link
Contributor

truboxl commented Feb 2, 2023

ok ok
I think need to add other LD_* also like LD_PRELOAD, there maybe other LD_* I am not aware of
I am not sure LD_PRELOAD ald included or not...

@2096779623 2096779623 changed the title add(termux-info): Output of variable LD_LIBRARY_PATH add(termux-info): Output of variable LD_LIBRARY_PATH and LD_PRELOAD Feb 2, 2023
@2096779623
Copy link
Member Author

2096779623 commented Feb 2, 2023

ok ok I think need to add other LD_* also like LD_PRELOAD, there maybe other LD_* I am not aware of I am not sure LD_PRELOAD ald included or not...

Except for these two variables, other LD_* have not been used in the issues of termux-packages.

@agnostic-apollo
Copy link
Member

You can check other variables at https://man7.org/linux/man-pages/man8/ld.so.8.html

To display them, I guess something like compgen -e "LD_" | while read v; do echo "${v}=${!v}"; done could be used, but probably two variables should be sufficient.

LD Variables:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH
LD_PRELOAD=$LD_PRELOAD

Signed-off-by: Kevin Williams <admin@utermux.dev>
Signed-off-by: Kevin Williams <admin@utermux.dev>
@agnostic-apollo
Copy link
Member

Looks fine.

@2096779623 2096779623 merged commit ba07ef8 into termux:master Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants