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 110754 - gst-gconf linking fails with installed packages
gst-gconf linking fails with installed packages
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.6.1
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-04-14 13:05 UTC by Julien MOUTTE
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
make > make.log 2>&1 (30.05 KB, text/plain)
2003-04-14 13:21 UTC, Julien MOUTTE
Details
incriminated makefile (27.03 KB, text/plain)
2003-04-14 13:32 UTC, Julien MOUTTE
Details

Description Julien MOUTTE 2003-04-14 13:05:03 UTC
When building the player against 0.6.0.2 pre release build fails because it
tries to link to packages of 0.6.0 instead of linking with libgstgconf from
0.6.0.2

here is the env requested by thomasvs :

dolphy@dolphy:~/workdir/gst-player$ export
PKG_CONFIG_PATH=/opt/gstreamer/lib/pkgconfig/
dolphy@dolphy:~/workdir/gst-player$ pkg-config gstreamer-0.6
gstreamer-gconf-0.6 --cflags --libs
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread
-I/opt/gstreamer/include/gstreamer-0.6 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/libxml2  -Wl,--export-dynamic
-pthread -L/opt/gstreamer/lib -lgstgconf-0.6 -lgstreamer-0.6 -lgobject-2.0
-lgmodule-2.0 -ldl -lgthread-2.0 -lxml2 -lz -lm -lglib-2.0
Comment 1 Julien MOUTTE 2003-04-14 13:12:05 UTC
here is the detailed compilation failure :

Making all in src
make[2]: Entering directory `/home/dolphy/workdir/gst-player/src'
/bin/sh ../libtool --mode=link gcc  -g -O2   -o gst-player 
gst_player-main.o -pthread -Wl,--export-dynamic -L/usr/X11R6/lib
-lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomecanvas-2 -lgnome-2
-lart_lgpl_2 -lpangoft2-1.0 -lbonobo-2 -lgnomevfs-2
-lbonobo-activation -lgconf-2 -lORBit-2 -llinc -lgthread-2.0
-lglade-2.0 -lgtk-x11-2.0 -lxml2 -lz -lgdk-x11-2.0 -latk-1.0
-lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0  
/home/dolphy/tmp/0_6/gstreamer-0.6.0.2/pkgconfig/../gst/libgstreamer-0.6.la
/home/dolphy/tmp/0_6/gst-plugins-0.6.0.2/pkgconfig/../gst-libs/gst/play/libgstplay-0.6.la
-Wl,--export-dynamic -pthread
-L/home/dolphy/tmp/0_6/gst-plugins-0.6.0.2/pkgconfig/../gst-libs/gst/gconf
-L/home/dolphy/tmp/0_6/gst-plugins-0.6.0.2/pkgconfig/../gst-libs/gst/audio
-L/home/dolphy/tmp/0_6/gst-plugins-0.6.0.2/pkgconfig/../gst-libs/gst/video
-L/home/dolphy/tmp/0_6/gst-plugins-0.6.0.2/pkgconfig/../gst-libs/gst/play
-lgstcontrol-0.6 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lxml2
-lz -lm -lglib-2.0   ../libs/gst/player/libgstplayer.la -lgstgconf-0.6
gcc -g -O2 -o .libs/gst-player gst_player-main.o -pthread
-Wl,--export-dynamic -Wl,--export-dynamic -pthread  -L/usr/X11R6/lib
-L/usr/lib -lz -lm -ldl -lz -lm -ldl -lm -ldl -lz -ldl -lm -lm -lm
-ldl -ldl -lm -lz -lm -ldl -lm -ldl -ldl -lz -lm -ldl -lz -lm -lz -ldl
-ldl -lm -lm -ldl -ldl -ldl -lz -lm -ldl -L/opt/gstreamer/lib -ldl -lz
-lm
-L/home/dolphy/tmp/0_6/gst-plugins-0.6.0.2/pkgconfig/../gst-libs/gst/gconf
-L/home/dolphy/tmp/0_6/gst-plugins-0.6.0.2/pkgconfig/../gst-libs/gst/audio
-L/home/dolphy/tmp/0_6/gst-plugins-0.6.0.2/pkgconfig/../gst-libs/gst/video
-L/home/dolphy/tmp/0_6/gst-plugins-0.6.0.2/pkgconfig/../gst-libs/gst/play
-lz -lm -ldl -ldl -ldl -lz -lm -lz -lm
../libs/gst/player/.libs/libgstplayer.so
/home/dolphy/tmp/0_6/gstreamer-0.6.0.2/pkgconfig/../gst/.libs/libgstreamer-0.6.so
-lz -lm -ldl
/home/dolphy/tmp/0_6/gst-plugins-0.6.0.2/pkgconfig/../gst-libs/gst/play/.libs/libgstplay-0.6.so
-ldl -lz -lm /opt/gstreamer/lib/libgstcontrol-0.6.so
/opt/gstreamer/lib/libgstreamer-0.6.so -lz -lm -ldl -ldl -ldl -lz -lm
-lz -lm /usr/lib/libgnomeui-2.so -lz -lm -ldl -lSM -lICE
/usr/lib/libbonoboui-2.so -lz
-lm -ldl /usr/lib/libgnomecanvas-2.so -lm -ldl /usr/lib/libgnome-2.so
-lz -ldl /usr/lib/libesd.so /usr/lib/libaudiofile.so -lm
/usr/lib/libart_lgpl_2.so -lm /usr/lib/libpangoft2-1.0.so
/usr/lib/libbonobo-2.so /usr/lib/libORBitCosNaming-2.so -lm -ldl
/usr/lib/libgnomevfs-2.so -ldl -lm /usr/lib/libgnutls.so
/usr/lib/libtasn1.so /usr/lib/libgcrypt.so -lnsl -lz -lrt
/usr/lib/libbonobo-activation.so -lm -ldl -lm -ldl -ldl
/usr/lib/libglade-2.0.so -lz -lm -ldl /usr/lib/libgtk-x11-2.0.so
/usr/lib/libxml2.so -lz -lm -lz /usr/lib/libgdk-x11-2.0.so
/usr/lib/libatk-1.0.so -ldl /usr/lib/libgdk_pixbuf-2.0.so -ldl -lm -lm
/usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so
/usr/lib/libpango-1.0.so -ldl -ldl -ldl /usr/lib/libgstgconf-0.6.so
/usr/lib/libgconf-2.so /usr/lib/libORBit-2.so /usr/lib/libpopt.so -lm
/usr/lib/liblinc.so /usr/lib/libgmodule-2.0.so -ldl
/usr/lib/libgobject-2.0.so /usr/lib/libgthread-2.0.so -lpthread
/usr/lib/libglib-2.0.so -Wl,--rpath
-Wl,/opt/gstreamer//lib -Wl,--rpath -Wl,/opt/gstreamer/lib
../libs/gst/player/.libs/libgstplayer.so: undefined reference to
`gst_gconf_get_default_visualisation_element'
collect2: ld returned 1 exit status
make[2]: *** [gst-player] Error 1
make[2]: Leaving directory `/home/dolphy/workdir/gst-player/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dolphy/workdir/gst-player'
make: *** [all] Error 2
dolphy@dolphy:~/workdir/gst-player$
Comment 2 Julien MOUTTE 2003-04-14 13:21:03 UTC
Created attachment 15706 [details]
make > make.log 2>&1
Comment 3 Julien MOUTTE 2003-04-14 13:32:30 UTC
Created attachment 15709 [details]
incriminated makefile
Comment 4 Thomas Vander Stichele 2003-05-10 17:08:16 UTC
I fixed running against uninstalled gstreamer and gst-plugins this
week, and it works for me now.  I removed -lgstgconf and replaced it
with the proper uninstalled pc getting.

If this is not fixed for you, please reopen the bug.