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 668648 - gst-plugins-good does not compile: cairo cannot find libgstvideo-0.10
gst-plugins-good does not compile: cairo cannot find libgstvideo-0.10
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal major
: 0.10.31
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Reported: 2012-01-25 10:30 UTC by Jayakrishnan M
Modified: 2012-01-25 15:24 UTC
See Also:
GNOME target: ---
GNOME version: ---

Description Jayakrishnan M 2012-01-25 10:30:25 UTC
I am building gst-plugins-good git against built copy of gstreamer and gst-plugins-base. I had not installed gstreamer and gst-plugins-base. gst-plugins-good will not compile and gives following error:

make[3]: Entering directory `/export/home/jk/gst/git/gst-plugins-good/ext/cairo'
  GEN    gstcairo-marshal.c
  GEN    gstcairo-marshal.h
make  all-am
make[4]: Entering directory `/export/home/jk/gst/git/gst-plugins-good/ext/cairo'
  CC     libgstcairo_la-gstcairo.lo
  CC     libgstcairo_la-gsttimeoverlay.lo
  CC     libgstcairo_la-gsttextoverlay.lo
  CC     libgstcairo_la-gstcairorender.lo
  CC     libgstcairo_la-gstcairooverlay.lo
  CC     libgstcairo_la-gstcairo-marshal.lo
/usr/bin/ld: cannot find -lgstvideo-0.10
collect2: ld returned 1 exit status
make[4]: *** [] Error 1
make[4]: Leaving directory `/export/home/jk/gst/git/gst-plugins-good/ext/cairo'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/export/home/jk/gst/git/gst-plugins-good/ext/cairo'
make[2]: *** [cairo] Error 2
make[2]: Leaving directory `/export/home/jk/gst/git/gst-plugins-good/ext'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/jk/gst/git/gst-plugins-good'
make: *** [all] Error 2

Following patch could fix this problem.

diff --git a/ext/cairo/ b/ext/cairo/
index 5a8d3be..0c7047e 100644
--- a/ext/cairo/
+++ b/ext/cairo/
@@ -36,7 +36,7 @@ libgstcairo_la_CFLAGS = \
        $(GST_BASE_CFLAGS) \
 libgstcairo_la_LIBADD = \
-       $(GST_BASE_LIBS) -lgstvideo-$(GST_MAJORMINOR) \
 libgstcairo_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
 libgstcairo_la_LIBTOOLFLAGS = --tag=disable-static
Comment 1 Tim-Philipp Müller 2012-01-25 15:23:38 UTC
Thanks, fixed (with minor change, order should be slightly different):

 commit d6821a336d24bec3d39b760abba32f6a8170cc64
 Author: Jayakrishnan M <>
 Date:   Wed Jan 25 15:21:44 2012 +0000

    cairo: fix build, make sure libgstvideo can be found