Re: [Rhythmbox-devel] Compilation error on trunk with glib-2.15 installed non system-wide

Il giorno sab, 19/01/2008 alle 23.57 +0100, Christophe Dehais ha
> 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 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/
> -lpng12 /usr/lib/ /usr/lib/
> /usr/lib/ /usr/lib/ -lpthread -lselinux

This is the first occurrence of the one the gcc will (probably)

> ../lib/.libs/librb.a /usr/lib/ -lSM -lICE
> /usr/lib/ /usr/lib/
> /usr/lib/ /usr/lib/ /usr/lib/
> /usr/lib/ /usr/lib/
> /usr/lib/ /usr/lib/
> /usr/lib/ /usr/lib/
> /usr/lib/ -lm /usr/lib/
> -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor
> -lXcomposite -lXdamage /usr/lib/ /usr/lib/
> -lX11 -lXfixes /usr/lib/ /usr/lib/
> /usr/lib/ /usr/lib/
> /usr/lib/ /home/tof/usr/lib/ -ldl
> /home/tof/usr/lib/ -lrt /usr/lib/
> -lgstpbutils-0.10 -ldbus-glib-1 -ldbus-1
> /home/tof/usr/lib/ /home/tof/usr/lib/

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]