GNOME Bugzilla – Bug 754106
osx: Binaries look in wrong paths for libraries
Last modified: 2015-08-31 07:28:21 UTC
~$ gst-inspect-1.0 dyld: Library not loaded: /Users/jan/cerbero/dist/darwin_x86_64/lib/libgstreamer-1.0.0.dylib Referenced from: /Library/Frameworks/GStreamer.framework/Commands/gst-inspect-1.0 Reason: image not found Trace/BPT trap: 5
Happens because the binaries were built with the default prefix instead of /Library/Frameworks/GStreamer.framework. When building OSX binaries, we always need to ensure that the prefix is the final install prefix... or alternatively add something to cerbero to relocate things later.
I assume this is a regression, but I've no idea why my build of cerbero would turn out differently
The prefix is being explicitly set by cerbero, for whatever reason: ./configure --prefix /Users/jan/cerbero/dist/darwin_x86_64 --libdir /Users/jan/cerbero/dist/darwin_x86_64/lib --enable-static --program-prefix= --disable-examples --disable-gtk-doc --disable-docbook --disable-maintainer-mode --disable-silent-rules --enable-introspection --build=x86_64-apple-darwin12
Did you build with config/osx-x86-64.cbc or no config at all?
Yes, that's the problem - I built without config. Argh.
That should be fixed with 1.5.90.1 that Jan uploaded this weekend. Thanks!