# Gst-launch returning conflicts

**URL:** https://discourse.gstreamer.org/t/gst-launch-returning-conflicts/1670
**Category:** Newcomers
**Tags:** macos
**Created:** [May 29, 2024, 7:20pm UTC](https://discourse.gstreamer.org/t/gst-launch-returning-conflicts/1670 "2024-05-29T19:20:44Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![GR99](https://discourse.gstreamer.org/letter_avatar_proxy/v4/letter/g/e79b87/32.png) [@GR99](https://discourse.gstreamer.org/u/GR99)
#### Post date: [May 29, 2024, 7:20pm UTC](https://discourse.gstreamer.org/t/gst-launch-returning-conflicts/1670/1 "2024-05-29T19:20:44Z")

</div>

I have gstreamer installed on a mac and am getting the following conflicts when I run a simple test. How can I resolve these?

> gst-launch-1.0 --version
> 
> objc[55523]: Class ResultReceiver is implemented in both /opt/homebrew/Cellar/gtk+3/3.24.42/lib/libgtk-3.0.dylib (0x10573de00) and /opt/homebrew/Cellar/gtk4/4.14.4/lib/libgtk-4.1.dylib (0x1195fb248). One of the two will be used. Which one is undefined.
> 
> objc[55523]: Class GtkApplicationQuartzDelegate is implemented in both /opt/homebrew/Cellar/gtk+3/3.24.42/lib/libgtk-3.0.dylib (0x10573de28) and /opt/homebrew/Cellar/gtk4/4.14.4/lib/libgtk-4.1.dylib (0x1195fb270). One of the two will be used. Which one is undefined.
> 
> objc[55523]: Class GNSMenuItem is implemented in both /opt/homebrew/Cellar/gtk+3/3.24.42/lib/libgtk-3.0.dylib (0x10573de78) and /opt/homebrew/Cellar/gtk4/4.14.4/lib/libgtk-4.1.dylib (0x1195fb2c0). One of the two will be used. Which one is undefined.
> 
> objc[55523]: Class GNSMenu is implemented in both /opt/homebrew/Cellar/gtk+3/3.24.42/lib/libgtk-3.0.dylib (0x10573dea0) and /opt/homebrew/Cellar/gtk4/4.14.4/lib/libgtk-4.1.dylib (0x1195fb2e8). One of the two will be used. Which one is undefined.
> 
> objc[55523]: Class FilterComboBox is implemented in both /opt/homebrew/Cellar/gtk+3/3.24.42/lib/libgtk-3.0.dylib (0x10573df18) and /opt/homebrew/Cellar/gtk4/4.14.4/lib/libgtk-4.1.dylib (0x1195fb360). One of the two will be used. Which one is undefined.
> 
> objc[55523]: Class gdkCoreCursor is implemented in both /opt/homebrew/Cellar/gtk+3/3.24.42/lib/libgdk-3.0.dylib (0x104b2d628) and /opt/homebrew/Cellar/gtk4/4.14.4/lib/libgtk-4.1.dylib (0x1195fb3b0). One of the two will be used. Which one is undefined.
> 
> gst-launch-1.0 version 1.24.3
> 
> GStreamer 1.24.3

I’ve tried to remove both of them - one at a time - and brew refuses as they are both required. Note I haven’t tried to force removal:

> % brew remove gtk+3
> 
> Error: Refusing to uninstall /opt/homebrew/Cellar/gtk+3/3.24.42
> 
> because it is required by gstreamer, which is currently installed.
> 
> You can override this and force removal with:
> 
> brew uninstall --ignore-dependencies gtk+3
> 
> % brew remove gtk4
> 
> Error: Refusing to uninstall /opt/homebrew/Cellar/gtk4/4.14.4
> 
> because it is required by gstreamer, which is currently installed.
> 
> You can override this and force removal with:
> 
> brew uninstall --ignore-dependencies gtk4

Can someone please help? Thank you.

---

<div class="post-metadata">

### Author: ![GR99](https://discourse.gstreamer.org/letter_avatar_proxy/v4/letter/g/e79b87/32.png) [@GR99](https://discourse.gstreamer.org/u/GR99)
#### Post date: [May 30, 2024, 8:10pm UTC](https://discourse.gstreamer.org/t/gst-launch-returning-conflicts/1670/2 "2024-05-30T20:10:14Z")

</div>

Appears I may have “solved” this, partially. I removed the Homebrew version of gstreamer and instead am running only the Apple Library/Framework, IOW, both the universal & devel .pkgs for 1.24.3 which is the most current version.

> gst-launch-1.0 --version

returns the following:

> gst-launch-1.0 version 1.24.3  
> GStreamer 1.24.3  
> Unknown package origin

Am now getting the following error when compiling the very simple tutorial5, which uses gtk.:

> Package ‘gtk4’ requires ‘gio-2.0 \>= 2.76.0’ but version of gio-2.0 is 2.74.4

Do the macOS .pkg files use a different version of gtk (which uses glib which houses gio) than the Homebrew distribution?

Will post separately as well.
