Re: [Rhythmbox-devel] Compilation error on trunk with glib-2.15 installed non system-wide
- From: Luca Ferretti <elle uca libero it>
- To: Christophe Dehais <christophe dehais gmail com>
- Cc: Rhythmbox-devel list <rhythmbox-devel gnome org>
- Subject: Re: [Rhythmbox-devel] Compilation error on trunk with glib-2.15 installed non system-wide
- Date: Mon, 21 Jan 2008 11:00:05 +0100
Il giorno sab, 19/01/2008 alle 23.57 +0100, Christophe Dehais ha
scritto:
> fails with a similar error. And here stop my automake "skills", so can
> anyone come with an explanation or tell me if I'm doing something
> wrong ?
It should be a "precedence" related issue: the order of linked stuff
puts the glib.so in /usr/ before the local copy
> [2] the error:
>
> gcc -g -O2 -o test-metadata test-metadata.o -pthread -pthread
> ./.libs/librbmetadata.a -L/home/tof/usr/lib /usr/lib/libfreetype.so
> -lpng12 /usr/lib/libgobject-2.0.so /usr/lib/libgthread-2.0.so
> /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so -lpthread -lselinux
^^^^^^^^^^^^^
This is the first occurrence of glib.so the one the gcc will (probably)
use.
> ../lib/.libs/librb.a /usr/lib/libgnomeui-2.so -lSM -lICE
> /usr/lib/libbonoboui-2.so /usr/lib/libgnomecanvas-2.so
> /usr/lib/libgnome-2.so /usr/lib/libpopt.so /usr/lib/libbonobo-2.so
> /usr/lib/libbonobo-activation.so /usr/lib/libart_lgpl_2.so
> /usr/lib/libglade-2.0.so /usr/lib/libgtk-x11-2.0.so
> /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so
> /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangocairo-1.0.so
> -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor
> -lXcomposite -lXdamage /usr/lib/libpango-1.0.so /usr/lib/libcairo.so
> -lX11 -lXfixes /usr/lib/libgnomevfs-2.so /usr/lib/libgconf-2.so
> /usr/lib/libORBit-2.so /usr/lib/libgstbase-0.10.so
> /usr/lib/libgstreamer-0.10.so /home/tof/usr/lib/libgmodule-2.0.so -ldl
> /home/tof/usr/lib/libgthread-2.0.so -lrt /usr/lib/libxml2.so
> -lgstpbutils-0.10 -ldbus-glib-1 -ldbus-1
> /home/tof/usr/lib/libgobject-2.0.so /home/tof/usr/lib/libglib-2.0.so
^^^^^^^^^^^
Here is the second one. This (probably) is ignored.
You can:
* use jhbuild and rebuild all needed stuff for rhythmbox :-)
* try some gcc magic, i.e.
$ LDFLAGS="-L/home/tof/usr/lib/"
$ make
About the gcc "magic", I'm not sure that stuff defined with LDFLAGS will
be pre-pended to other. If so, you could be able to build.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]