[Bug 761581] New: gst-uninstalled: fails to load plugins because of wrong rpath

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Feb 5 09:00:05 UTC 2016


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

            Bug ID: 761581
           Summary: gst-uninstalled: fails to load plugins because of
                    wrong rpath
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Mac OS
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: julien.isorce at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Build is fine but gst-inspect-1.0 leads to: "(gst-plugin-scanner:79479):
GStreamer-WARNING **: Failed to load plugin" for all dynamic plugins.

This this due to a wrong rpath:

otool -L gst/.libs/libgstreamer-1.0.dylib :
    /usr/local/lib/libgstreamer-1.0.0.dylib (compatibility version 702.0.0,
current version 702.0.0)
    /opt/local/lib/libgobject-2.0.0.dylib (compatibility version 4401.0.0,
current version 4401.1.0)
    /opt/local/lib/libgmodule-2.0.0.dylib (compatibility version 4401.0.0,
current version 4401.1.0)
    /opt/local/lib/libglib-2.0.0.dylib (compatibility version 4401.0.0, current
version 4401.1.0)
    /opt/local/lib/libintl.8.dylib (compatibility version 10.0.0, current
version 10.3.0)
    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version
1213.0.0)

libtool generates Makefile that contains: -rpath $(libdir)

Unfortunately ./configure --disable-rpath does not work, see
http://savannah.gnu.org/bugs/?func=detailitem&item_id=29151 (the bug is open
for 6 years now)

So a solution can be to run some post-build commands, using "install_name_tool"
tool to fix this rpath.

A WIP path will follow.

-- 
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