tauri icon indicating copy to clipboard operation
tauri copied to clipboard

[bug] libarchive.13.dylib' (no such file),

Open huifer opened this issue 1 year ago • 2 comments

Describe the bug

dyld[82730]: Library not loaded: /opt/homebrew/opt/libarchive/lib/libarchive.13.dylib Referenced from: <3A92023B-E694-3FA1-B4FC-5056A4F353A7> /Users/suzhiwei/Documents/gitsource/fom/src-tauri/target/release/omg-ff Reason: tried: '/opt/homebrew/opt/libarchive/lib/libarchive.13.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/libarchive/lib/libarchive.13.dylib' (no such file), '/opt/homebrew/opt/libarchive/lib/libarchive.13.dylib' (no such file)

Reproduction

No response

Expected behavior

No response

Full tauri info output

> [email protected] tauri
> tauri info


[✔] Environment
    - OS: Mac OS 15.0.1 x86_64 (X64)
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.81.0 (eeb90cda1 2024-09-04)
    ✔ cargo: 1.81.0 (2dbb1af80 2024-08-20)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: 1.81-x86_64-apple-darwin (default)
    - node: 20.11.1
    - pnpm: 8.6.11
    - yarn: 1.22.22
    - npm: 10.2.4

[-] Packages
    - tauri 🦀: 2.1.1
    - tauri-build 🦀: 2.0.3
    - wry 🦀: 0.47.2
    - tao 🦀: 0.30.8
    - @tauri-apps/api : 2.1.1
    - @tauri-apps/cli : 2.1.0

[-] Plugins
    - tauri-plugin-fs 🦀: 2.1.0
    - @tauri-apps/plugin-fs : not installed!
    - tauri-plugin-dialog 🦀: 2.0.4
    - @tauri-apps/plugin-dialog : 2.0.1
    - tauri-plugin-shell 🦀: 2.0.2
    - @tauri-apps/plugin-shell : 2.0.1

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - framework: React
    - bundler: Vite

Stack trace

No response

Additional context

No response

huifer avatar Dec 06 '24 13:12 huifer

did you add aditional rust dependencies? are you compiling for macos or ios? are dev and build affected?

FabianLars avatar Dec 06 '24 14:12 FabianLars

What I need to make is a cross-platform application,My dependency information is as follows

@FabianLars

[package]
name = "omg-ff"
version = "0.1.0"
description = "A Tauri App"
authors = ["you"]
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[lib]
# The `_lib` suffix may seem redundant but it is necessary
# to make the lib name unique and wouldn't conflict with the bin name.
# This seems to be only an issue on Windows, see https://github.com/rust-lang/cargo/issues/8519
name = "omg_ff_lib"
crate-type = ["staticlib", "cdylib", "rlib"]

[build-dependencies]
tauri-build = { version = "2", features = [] }

[dependencies]
tauri = { version = "2", features = [] }
tauri-plugin-shell = "2"
tauri-plugin-dialog = "2"
blake3 = "1.5.0"
rusqlite = "0.26"
serde = { version = "1.0", features = ["derive"] }
log = "0.4"
serde_json = "1.0"
chrono = "0.4"
chardet = "0.2"
jieba-rs = "0.6"
encoding_rs = "0.8"
log4rs = { version = "1.2", features = ["file_appender", "pattern_encoder", "threshold_filter"] }
rayon = "1.5"
rust_search = "2.0.0"
memmap2 = "0.7"
docx-rs = "0.4"
calamine = "0.22"
tantivy = "0.22.0"
msoffice_pptx = "0.2.1"
leptess = "=0.14.0"
dirs = "5.0.1"
glob = "0.3.1"
tantivy-jieba = "0.11.0"
directories = "4.0"

huifer avatar Dec 07 '24 01:12 huifer