After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 754106 - osx: Binaries look in wrong paths for libraries
osx: Binaries look in wrong paths for libraries
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: cerbero
git master
Other Linux
: Normal blocker
: 1.5.91
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-08-26 08:23 UTC by Sebastian Dröge (slomo)
Modified: 2015-08-31 07:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastian Dröge (slomo) 2015-08-26 08:23:48 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
Comment 1 Sebastian Dröge (slomo) 2015-08-26 08:24:56 UTC
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.
Comment 2 Jan Schmidt 2015-08-26 12:53:16 UTC
I assume this is a regression, but I've no idea why my build of cerbero would turn out differently
Comment 3 Jan Schmidt 2015-08-26 13:14:44 UTC
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
Comment 4 Sebastian Dröge (slomo) 2015-08-26 14:18:16 UTC
Did you build with config/osx-x86-64.cbc or no config at all?
Comment 5 Jan Schmidt 2015-08-28 14:21:17 UTC
Yes, that's the problem - I built without config. Argh.
Comment 6 Sebastian Dröge (slomo) 2015-08-31 07:28:21 UTC
That should be fixed with 1.5.90.1 that Jan uploaded this weekend. Thanks!