Error while building #3269
-
Hi! I'm new to tauri.
Here is the full output of yarn tauri infoyarn run v1.22.17 Operating System - Arch Linux, version Rolling Release X64 Node.js environment Global packages Rust environment App directory structure App Done in 4.54s. Using arch btwOperating System: Arch Linux KDE Plasma Version: 5.23.5 KDE Frameworks Version: 5.90.0 Qt Version: 5.15.2 Kernel Version: 5.16.2-arch1-1 (64-bit) Graphics Platform: X11 |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 3 replies
-
Please edit your question with the results of |
Beta Was this translation helpful? Give feedback.
-
Same issue. |
Beta Was this translation helpful? Give feedback.
-
I got the same issue in Arch Linux. Fixed with |
Beta Was this translation helpful? Give feedback.
-
I expected being able to build for all platforms (linux, windows, mac) on single (linux) platform... Which isn't the case sadly. |
Beta Was this translation helpful? Give feedback.
-
Has anyone solved this error on Arch Linux?
|
Beta Was this translation helpful? Give feedback.
-
i am getting similar kind of error pnpm tauri info
[✔] Environment [-] Packages [-] App
error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/home/ashu/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/home/ashu/Documents/Open Source/Dorion/
= note: /usr/bin/ld: /home/ashu/Documents/Open Source/Dorion/src-tauri/target/debug/deps/libopenssl-218892c00800079b.rlib(openssl-218892c00800079b.openssl.61cde6a6cf2e7a55-cgu.01.rcgu.o): in function `openssl::ssl::SslRef::peer_certificate':
/home/ashu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.63/src/ssl/mod.rs:2550: undefined reference to `SSL_get1_peer_certificate'
/usr/bin/ld: /home/ashu/Documents/Open Source/Dorion/src-tauri/target/debug/deps/libopenssl-218892c00800079b.rlib(openssl-218892c00800079b.openssl.61cde6a6cf2e7a55-cgu.10.rcgu.o): in function `openssl::error::Error::get':
/home/ashu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/openssl-0.10.63/src/error.rs:122: undefined reference to `ERR_get_error_all'
collect2: error: ld returned 1 exit status
= note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
= note: use the `-l` flag to specify native libraries to link
= note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)
dorion: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by dorion)
dorion: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by dorion)
dorion: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by dorion) |
Beta Was this translation helpful? Give feedback.
I got the same issue in Arch Linux. Fixed with
paru -S libffi6