Re: [Resend] Compiling gnome-media 2.10.2



On 4/30/05, Mark Carey <mark carey gmail com> wrote:
> Making all in cddb-slave2
> make[2]: Entering directory `/sources/gnome-media-2.10.2/cddb-slave2'
> /bin/sh ../libtool --mode=link gcc  -g -O2   -o libcddb-slave2.la
> -rpath /opt/gnome2.10.1/lib -lORBit-2 -lbonobo-2 -lgobject-2.0
> -lglib-2.0 cddb-slave-client.lo libgnomemedia-cddbslave2.la
> libcddb-slave2-private.la
> gcc -shared  .libs/cddb-slave-client.o -Wl,--whole-archive
> ./.libs/libgnomemedia-cddbslave2.a ./.libs/libcddb-slave2-private.a
> -Wl,--no-whole-archive  -lORBit-2 -lbonobo-2 -lgobject-2.0 -lglib-2.0
> -Wl,-soname -Wl,libcddb-slave2.so.0 -o .libs/libcddb-slave2.so.0.0.0
> /usr/bin/ld: cannot find -lORBit-2
> collect2: ld returned 1 exit status
> make[2]: *** [libcddb-slave2.la] Error 1
> make[2]: Leaving directory `/sources/gnome-media-2.10.2/cddb-slave2'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/sources/gnome-media-2.10.2'
> make: *** [all] Error 2

Reading `man ld`, I find that -larchive looks along ld's search path
for a library called libarchive.{a,so} and attempts to link with that
archive.

In my case it should be looking for libORBit-2.{a,so} both of which
are located in /opt/gnome2.10.1/lib

[root jersey:/opt/gnome2.10.1/lib]#ls -lah libORBit-2.*
-rw-r--r--  1 root root 1.5M 2005-04-20 20:31 libORBit-2.a
-rwxr-xr-x  1 root root 1017 2005-04-20 20:31 libORBit-2.la
lrwxrwxrwx  1 root root   19 2005-04-20 20:31 libORBit-2.so ->
libORBit-2.so.0.0.0
lrwxrwxrwx  1 root root   19 2005-04-20 20:31 libORBit-2.so.0 ->
libORBit-2.so.0.0.0
-rwxr-xr-x  1 root root 989K 2005-04-20 20:31 libORBit-2.so.0.0.0

My question remains, why isnt ld finding libORBit.{a,so}

[root jersey:/sources/gnome-media-2.10.2]# ld --version
GNU ld version 2.15.94.0.2.2 20041220
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.

I desperately want to get Gnome 2.10.1 running any help gratefully
appreciated ....

Mark



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]