hardcoded paths in macOS GStreamer

John Cortell john.cortell at gmail.com
Mon May 6 21:49:22 UTC 2019


Hi, I had read that there had been a fix to the macOS build so that the
distribution would work from any location. But it seems GStreamer 1.16 (the
latest) still expects things to be in the default installation location.

As you can see below, If I rename the directory where GStreamer is
installed, things don't work:
$ cd /Library/Frameworks $ GStreamer.framework/Commands/gst-play-1.0
some.mp3

<this works fine>

$ sudo mv GStreamer.framework GStreamer.framework.backup

$ GStreamer.framework.backup/Commands/gst-play-1.0 some.mp3

dyld: Library not loaded: /Library/Frameworks/GStreamer.framework
/Versions/1.0/lib/libgstpbutils-1.0.0.dylib

 Referenced from:
/Library/Frameworks/GStreamer.framework.backup/Commands/gst-play-1.0

 Reason: image not found

Trace/BPT trap: 5

I was planning to redistribute GStreamer with my application, but this will
prevent me from doing that.

Any advice/insight?
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190506/34ae36f2/attachment.html>


More information about the gstreamer-devel mailing list