spacedrive icon indicating copy to clipboard operation
spacedrive copied to clipboard

macOS install requires ffmpeg to be bundled

Open FinnDore opened this issue 3 years ago • 0 comments

Describe the bug

When trying to install Spacedrive, I came across an issue caused by a lack of ffmpeg, and assume this should be bundled with Spacedrive.

Reproduction

  1. Download Spacedrive from:
    • https://github.com/spacedriveapp/spacedrive/actions/runs/3343230182
    • https://pipelines.actions.githubusercontent.com/serviceHosts/3acb34b6-a09b-4df5-a685-e4e76730df1f/_apis/pipelines/1/runs/1734/signedartifactscontent?artifactName=Spacedrive-macOS-b713c89&urlExpires=2022-10-28T10%3A43%3A53.6162024Z&urlSigningMethod=HMACV2&urlSignature=4rQWiSOQHQr7xthd0gEoEviNceoHpQbxheyUi5jYodY%3D
  2. Run:
    chmod +x Spacedrive.app/Contents/MacOS/Spacedrive # make app executable by command line
    Spacedrive.app/Contents/MacOS/Spacedrive # run the app's plain executable
    

Expected behavior

Spacedrive to launch normally

Platform and versions

cargo --version && rustc --version
cargo 1.64.0 (387270bc7 2022-09-16)
rustc 1.64.0 (a55dd71d5 2022-09-19)
# pnpm is not installed
system_profiler SPSoftwareDataType SPHardwareDataType
Software:

    System Software Overview:

      System Version: macOS 12.3 (21E230)
      Kernel Version: Darwin 21.4.0
      Boot Volume: Macintosh HD
      Boot Mode: Normal
      Computer Name: Finn’s MacBook Pro
      User Name: Finn Dore (finn)
      Secure Virtual Memory: Enabled
      System Integrity Protection: Enabled
      Time since boot: 54 days 1:18

Stack trace

/path/to/Spacedrive.app/Contents/MacOS/Spacedrive
dyld[18695]: Library not loaded: /usr/local/opt/[email protected]/lib/libavutil.57.dylib
  Referenced from: /Users/finn/Downloads/Spacedrive.app/Contents/MacOS/Spacedrive
  Reason: tried: '/usr/local/opt/[email protected]/lib/libavutil.57.dylib' (no such file), '/usr/local/lib/libavutil.57.dylib' (no such file), '/usr/lib/libavutil.57.dylib' (no such file)
zsh: abort      /path/to/Spacedrive.app/Contents/MacOS/Spacedrive

Additional context

Make sure you run have the latest version of Rust (rustup update) and PNPM (pnpm add -g pnpm) along with all relevant Spacedrive dependencies.

Assuming the above is not relevant as I'm using the built app

FinnDore avatar Oct 28 '22 11:10 FinnDore