---
title: "Fix FFmpeg Library Not Loaded: dyld"
date: 2022-10-27T20:12:07.000Z
author: Z.SHINCHVEN
tags: [macOS Ventura, FFmpeg, dyld]
canonical: https://atlassc.net/2022/10/28/fix-ffmpeg-dyld-library-not-loaded
---
Just got macOS upgraded to [Ventura](https://www.apple.com/macos/monterey-preview/) and found that FFmpeg is not working and throwing the following error:

```bash
dyld[54425]: Library not loaded: /opt/homebrew/opt/rav1e/lib/librav1e.0.5.dylib
  Referenced from: <D4B0734B-405C-3440-A545-A06D935C834D> /opt/homebrew/Cellar/ffmpeg/5.1.2/bin/ffmpeg
  Reason: tried: '/opt/homebrew/opt/rav1e/lib/librav1e.0.5.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/rav1e/lib/librav1e.0.5.dylib' (no such file), '/opt/homebrew/opt/rav1e/lib/librav1e.0.5.dylib' (no such file), '/usr/local/lib/librav1e.0.5.dylib' (no such file), '/usr/lib/librav1e.0.5.dylib' (no such file, not in dyld cache), '/opt/homebrew/Cellar/rav1e/0.5.1/lib/librav1e.0.5.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/rav1e/0.5.1/lib/librav1e.0.5.dylib' (no such file), '/opt/homebrew/Cellar/rav1e/0.5.1/lib/librav1e.0.5.dylib' (no such file), '/usr/local/lib/librav1e.0.5.dylib' (no such file), '/usr/lib/librav1e.0.5.dylib' (no such file, not in dyld cache)
fish: Job 1, 'ffmpeg' terminated by signal SIGABRT (Abort)
```

It's obviously a dependency problem. 

According to [this issue](https://github.com/Homebrew/discussions/discussions/2705), reinstalling `rav1e` shall fix it:

```bash
brew reinstall rav1e
```
