[Bug 796447] New: gstreamer mac os pkg installer have wrong library path

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue May 29 15:45:34 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=796447

            Bug ID: 796447
           Summary: gstreamer mac os pkg installer have wrong library path
    Classification: Platform
           Product: GStreamer
           Version: 1.14.1
                OS: Mac OS
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: cerbero
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: hingwah at hingwah.net
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

I download the pkg installer in
https://gstreamer.freedesktop.org/data/pkg/osx/1.14.1/ for runtime and devel
pkg

After installation, when trying to launch gst-launch-1.0, 
it report a image not found error:

````
$ /Library/Frameworks/GStreamer.framework/Commands/gst-launch-1.0
dyld: Library not loaded:
/Users/matt/Projects/cerbero-1.14/build/dist/darwin_x86_64/lib/libgstreamer-1.0.0.dylib
  Referenced from:
/Library/Frameworks/GStreamer.framework/Commands/gst-launch-1.0
  Reason: image not found
Abort trap: 6

```

I have to set DYLD_FALLBACK_LIBRARY_PATH  to
/Library/Frameworks/GStreamer.framework/Libraries in order to run the tool


Moreover, the *.pc files have also wrong path set:
```
 $cat
/Library/Frameworks/GStreamer.framework/Versions/1.0/lib/pkgconfig/gstreamer-plugins-base-1.0.pc
prefix=/Users/matt/Projects/cerbero-1.14/build/dist/darwin_x86_64
exec_prefix=${prefix}
libdir=/Users/matt/Projects/cerbero-1.14/build/dist/darwin_x86_64/lib
includedir=${prefix}/include/gstreamer-1.0
pluginsdir=/Users/matt/Projects/cerbero-1.14/build/dist/darwin_x86_64/lib/gstreamer-1.0

Name: GStreamer Base Plugins Libraries
Description: Streaming media framework, base plugins libraries
Requires: gstreamer-1.0
Version: 1.14.1
Libs: -L${libdir}
Cflags: -I${includedir}
```

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list