1 |
I have gtk+-2.8.0 installed under /usr/local and have included |
2 |
/usr/local/lib64 in /etc/ld.so.conf (and have run ldconfig). I have |
3 |
also listed this path in LD_LIBRARY_PATH. I have successfully built |
4 |
other autotool based gtk+ apps, but when I go to emerge/build |
5 |
libgnomecanvas-2.10.2 linking fails with the following output: |
6 |
|
7 |
root@host /var/tmp/portage/libgnomecanvas-2.10.2/work/libgnomecanvas-2.10.2 |
8 |
# make |
9 |
... |
10 |
make all-recursive |
11 |
make[1]: Entering directory |
12 |
`/var/tmp/portage/libgnomecanvas-2.10.2/work/libgnomecanvas-2.10.2' |
13 |
Making all in libgnomecanvas |
14 |
make[2]: Entering directory |
15 |
`/var/tmp/portage/libgnomecanvas-2.10.2/work/libgnomecanvas-2.10.2/libgnomecanvas' |
16 |
make all-am |
17 |
make[3]: Entering directory |
18 |
`/var/tmp/portage/libgnomecanvas-2.10.2/work/libgnomecanvas-2.10.2/libgnomecanvas' |
19 |
make[3]: Nothing to be done for `all-am'. |
20 |
make[3]: Leaving directory |
21 |
`/var/tmp/portage/libgnomecanvas-2.10.2/work/libgnomecanvas-2.10.2/libgnomecanvas' |
22 |
make[2]: Leaving directory |
23 |
`/var/tmp/portage/libgnomecanvas-2.10.2/work/libgnomecanvas-2.10.2/libgnomecanvas' |
24 |
Making all in glade |
25 |
make[2]: Entering directory |
26 |
`/var/tmp/portage/libgnomecanvas-2.10.2/work/libgnomecanvas-2.10.2/glade' |
27 |
/bin/sh ../libtool --mode=link x86_64-pc-linux-gnu-gcc -march=k8 -O2 |
28 |
-pipe -o libcanvas.la -rpath /usr/lib64/libglade/2.0 -export-dynamic |
29 |
-module -avoid-version glade-canvas.lo |
30 |
../libgnomecanvas/libgnomecanvas-2.la -Wl,--rpath -Wl,/usr/lib64 |
31 |
-L/usr/local/lib -lart_lgpl_2 -lpangoft2-1.0 -lglade-2.0 -lgtk-x11-2.0 |
32 |
-lxml2 -lpthread -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm |
33 |
-lpangocairo-1.0 -lpango-1.0 -lfreetype -lz -lcairo -lgobject-2.0 |
34 |
-lgmodule-2.0 -ldl -lglib-2.0 |
35 |
grep: /usr/lib64/libgtk-x11-2.0.la: No such file or directory |
36 |
/bin/sed: can't read /usr/lib64/libgtk-x11-2.0.la: No such file or directory |
37 |
libtool: link: `/usr/lib64/libgtk-x11-2.0.la' is not a valid libtool archive |
38 |
make[2]: *** [libcanvas.la] Error 1 |
39 |
make[2]: Leaving directory |
40 |
`/var/tmp/portage/libgnomecanvas-2.10.2/work/libgnomecanvas-2.10.2/glade' |
41 |
make[1]: *** [all-recursive] Error 1 |
42 |
make[1]: Leaving directory |
43 |
`/var/tmp/portage/libgnomecanvas-2.10.2/work/libgnomecanvas-2.10.2' |
44 |
make: *** [all] Error 2 |
45 |
|
46 |
I am not familiar enough with libtool to determine why it is expecting |
47 |
libgtk-x11-2.0.la in /usr/lib64 when it is present in |
48 |
/usr/local/lib64, which seems to be in the linkers search path. |
49 |
Moving gtk+ to /usr is an option but I'm curious as to the cause of |
50 |
this issue. |
51 |
|
52 |
This is an amd64 installation with gentoo base system version 1.4.16. |
53 |
I am using; |
54 |
libtool 1.5.10-r4, |
55 |
autoconf 2.59-r6 and |
56 |
automake 1.9.4 |
57 |
|
58 |
Thanks in advance for any help, or pointers to where this question may |
59 |
be more appropriate. |
60 |
|
61 |
Eoin |
62 |
|
63 |
-- |
64 |
gentoo-amd64@g.o mailing list |