You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to upgrade my app to beta-14; cargo tauri android build --apk -t armv7 fails with libxml2.so.2 not found:
= note: /nix/store/sqixlxw21vzkwg4sdyz5r73ywpsancjs-androidsdk/libexec/android-sdk/ndk/26.3.11579264/toolchains/llvm/prebuilt/linux-x86_64/bin/ld.lld: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory
clang-17: error: unable to execute command: No such file or directory
clang-17: error: linker command failed due to signal (use -v to see invocation)
expect it to link, and hopefully run on the android device.
Full tauri info output
[bburdette@HOSS:~/code/zknotes/tauri-zknotes/tauri/src-tauri]$ cargo tauri info
WARNING: no lock files found, defaulting to npm
[⚠] Environment
- OS: NixOS 24.5.0 X64
✔ webkit2gtk-4.1: 2.44.1
✔ rsvg2: 2.58.0
✔ rustc: 1.77.2 (25ef9e3d8 2024-04-09)
✔ cargo: 1.77.2 (e52e36006 2024-03-26)
⚠ rustup: not installed!
If you have rust installed some other way, we recommend uninstalling it
then use rustup instead. Visit https://rustup.rs/
⚠ Rust toolchain: couldn't be detected!
Maybe you don't have rustup installed? if so, Visit https://rustup.rs/
- node: 20.12.2
- npm: 10.5.0
[-] Packages
- tauri [RUST]: 2.0.0-beta.15
- tauri-build [RUST]: 2.0.0-beta.12
- wry [RUST]: 0.39.1
- tao [RUST]: 0.27.0
- tauri-cli [RUST]: 2.0.0-beta.12
- @tauri-apps/api : not installed!
- @tauri-apps/cli [NPM]: 2.0.0-beta.12
[-] App
- build-type: bundle
- CSP: unset
- frontendDist: static
- devUrl: http://192.168.88.252:8010/
Stack trace
No response
Additional context
There is non-tauri rust code in this project, in the form of a library containing a web server. When I compile that on its own it doesn't contain libxml dependencies:
Thought I'd try starting fresh. Recreated my projects src-tauri folder with cargo tauri init, and then remade the gen/ subdir with cargo tauri android init. Still getting that libxml.so.2 link error, but without any of my own rust code.
Describe the bug
Trying to upgrade my app to beta-14;
cargo tauri android build --apk -t armv7
fails with libxml2.so.2 not found:Reproduction
bburdette/tauri-zknotes@d2afc79
build instructions in readme.
Expected behavior
expect it to link, and hopefully run on the android device.
Full
tauri info
outputStack trace
No response
Additional context
There is non-tauri rust code in this project, in the form of a library containing a web server. When I compile that on its own it doesn't contain libxml dependencies:
Here's the cargo build output:
The text was updated successfully, but these errors were encountered: