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

Installing in Termux #699

Closed
b9Joker108 opened this issue Mar 14, 2024 · 3 comments
Closed

Installing in Termux #699

b9Joker108 opened this issue Mar 14, 2024 · 3 comments

Comments

@b9Joker108
Copy link

I noted that xplr has not been well-tested in Termux, but I tried to install it anyway, but no success:

’’’zsh
error: linking with cc failed: exit status: 1
|
= note: LC_ALL="C" PATH="/data/data/com.termux/files/usr/lib/rustlib/aarch64-linux-android/bin:/data/data/com.termux/files/home/.zi/polaris/sbin:/data/data/com.termux/files/home/.zi/polaris/bin:/data/data/com.termux/files/home/.local/bin:/data/data/com.termux/files/usr/bin:/data/data/com.termux/files/usr/bin/texlive:/data/data/com.termux/files/home/install/bin" VSLANG="1033" "cc" "/data/data/com.termux/files/usr/tmp/rustcZLmwHU/symbols.o" "/data/data/com.termux/files/usr/tmp/cargo-installAz6mSa/release/deps/xplr-b7a301bd61899e8c.xplr.a4d550371f6c6aea-cgu.0.rcgu.o" "-Wl,--as-needed" "-L" "/data/data/com.termux/files/usr/tmp/cargo-installAz6mSa/release/deps" "-L" "/data/data/com.termux/files/usr/tmp/cargo-installAz6mSa/release/build/mlua-sys-74884d2b8307d95a/out/luajit-build/lib" "-L" "/data/data/com.termux/files/usr/lib/rustlib/aarch64-linux-android/lib" "-Wl,-Bstatic" "/data/data/com.termux/files/usr/tmp/rustcZLmwHU/libmlua_sys-356dfd2f5e8104a9.rlib" "/data/data/com.termux/files/usr/lib/rustlib/aarch64-linux-android/lib/libcompiler_builtins-d269850cd60e0323.rlib" "-Wl,-Bdynamic" "-ldl" "-llog" "-lunwind" "-ldl" "-lm" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/data/com.termux/files/usr/lib/rustlib/aarch64-linux-android/lib" "-o" "/data/data/com.termux/files/usr/tmp/cargo-installAz6mSa/release/deps/xplr-b7a301bd61899e8c" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-Wl,--strip-all" "-nodefaultlibs"
= note: ld.lld: error: undefined symbol: __clear_cache
>>> referenced by lj_mcode.c
>>> lj_mcode.o:(lj_mcode_sync) in archive /data/data/com.termux/files/usr/tmp/rustcZLmwHU/libmlua_sys-356dfd2f5e8104a9.rlib
cc: error: linker command failed with exit code 1 (use -v to see invocation)

error: could not compile xplr (bin "xplr") due to 1 previous error
error: failed to compile xplr v0.21.5, intermediate artifacts can be found at /data/data/com.termux/files/usr/tmp/cargo-installAz6mSa.
To reuse those artifacts with a future compilation, set the environment variable CARGO_TARGET_DIR to that path.
’’’

I don't use cargo much, so am not really aware of its ins and outs. I am disappointed that xplr didn't install.

@sayanarijit
Copy link
Owner

Thanks for reporting. Termux keeps breaking. Will remove the section.

@b9Joker108
Copy link
Author

I am very disappointed. I just tried again, for the hell of it. Still no success.

@sayanarijit
Copy link
Owner

I have removed the termux section from the docs, since maintaining termux support is proving to be a burden. Termux enthusiasts overlapping xplr users are welcome to package xplr in the termux repo.

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