[Bug 712631] On Redhat 6.4 gstreamer 1.0 build fails

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Nov 20 13:22:10 PST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=712631
  GStreamer | gstreamer (core) | 1.2.1

--- Comment #3 from navesta at cisco.com 2013-11-20 21:22:03 UTC ---
Thank you for your valuable replies.
I think that I have  a handle on the problem. As suspected gstreamer is
pointing to an older version of Glib:

$ldd gst/.libs/libgstreamer-1.0.so.0.201.0 (Thank you Fredrik)
        linux-vdso.so.1 =>  (0x00007fff0876e000)
        libgobject-2.0.so.0 => /lib64/libgobject-2.0.so.0 (0x00007f5081b7c000)
        libgmodule-2.0.so.0 => /lib64/libgmodule-2.0.so.0 (0x00007f5081978000)
        libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x00007f5081693000)
        libffi.so.6 => /usr/lib/../lib64/libffi.so.6 (0x00007f508148b000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f5081206000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f5080fe9000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f5080de1000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f5080bdc000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f5080849000)
        /lib64/ld-linux-x86-64.so.2 (0x0000003084a00000)
Somewhat misleading is the output of pkg-config:
$ pkg-config --modversion glib-2.0
2.38.1

Set LDFLAGS  variable to new library path
export LDFLAGS="-L/usr/local/lib"

And set PKG_CONFIG_PATH  to /usr/local/lib
export PKG_CONFIG_PATH=/usr/local/lib:$ PKG_CONFIG_PATH

And voila, it built!

Strangely enough ldd still points to the old /lib64 library! Binaries seem to
be fine:
$ ./gst-launch-1.0  --version
gst-launch-1.0 version 1.2.1
GStreamer 1.2.1
Unknown package origin
$

Will experiment further and report.
Cheers,

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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