Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LD_LIBRARY_PATH variable affects linking #6

Open
Davids048 opened this issue Jul 30, 2024 · 1 comment
Open

LD_LIBRARY_PATH variable affects linking #6

Davids048 opened this issue Jul 30, 2024 · 1 comment

Comments

@Davids048
Copy link

After I setup the LD_LIBRARY_PATH variable as the instruction described, when I try to execute llama-cli from /build/bin, I encountered the following error:

CANNOT LINK EXECUTABLE "./llama-cli": cannot locate symbol "__emutls_get_address" referenced by "/data/data/com.termux/files/home/llama.cpp/build/ggml/src/libggml.so"...

After I unset the variable, I could execute the program again. But I'm not sure if this is using any GPU to accelerate the program.

What is going on by setting LD_LIBRARY_PATH to /vendor/lib64? And is there any alternative to use GPU other than setting this variable?

@JackZeng0208
Copy link
Owner

pkg upgrade
Please upgrade the packages and try again

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

No branches or pull requests

2 participants