Skip to content

Still fails to find libfuse #681

Description

@mouse07410

MacOS Tahoe 26.4.1. Attempts to build the current EncFS master.

error: failed to run custom build command for `fuser v0.16.0`
note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.

Caused by:
  process didn't exit successfully: `/Users/ur20980/src/encfs/target/debug/build/fuser-521c397229e8a7d4/build-script-build` (exit status: 101)
  --- stdout
  cargo:rustc-check-cfg=cfg(fuser_mount_impl, values("pure-rust", "libfuse2", "libfuse3"))

  --- stderr

  thread 'main' (40200159) panicked at /Users/ur20980/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/fuser-0.16.0/build.rs:9:5:
  not implemented: Building without libfuse is only supported on Linux
  stack backtrace:
     0: __rustc::rust_begin_unwind
               at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/panicking.rs:689:5
     1: core::panicking::panic_fmt
               at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/core/src/panicking.rs:80:14
     2: build_script_build::main
     3: <fn() as core::ops::function::FnOnce<()>>::call_once
  note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
warning: build failed, waiting for other jobs to finish...
$
$ ll /usr/local/lib/libfuse*
-rwxr-xr-x  1 root  wheel  595792 Apr  9 10:03 /usr/local/lib/libfuse.2.dylib*
lrwxr-xr-x  1 root  wheel      15 Apr 17 13:18 /usr/local/lib/libfuse.dylib@ -> libfuse.2.dylib
-rwxr-xr-x  1 root  wheel    1000 Apr  9 10:03 /usr/local/lib/libfuse.la*
-rwxr-xr-x  1 root  wheel  811600 Apr  9 10:03 /usr/local/lib/libfuse3.4.dylib*
lrwxr-xr-x  1 root  wheel      16 Apr 17 13:18 /usr/local/lib/libfuse3.dylib@ -> libfuse3.4.dylib
$ 
$ pkg-config fuse --libs
-L/usr/local/lib -lfuse -pthread
$ 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions