public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-amd64] Linker search path issue..
@ 2005-10-04  9:32 Eoin Hennessy
  0 siblings, 0 replies; only message in thread
From: Eoin Hennessy @ 2005-10-04  9:32 UTC (permalink / raw
  To: gentoo-amd64

I have gtk+-2.8.0 installed under /usr/local and have included
/usr/local/lib64 in /etc/ld.so.conf (and have run ldconfig). I have
also listed this path in LD_LIBRARY_PATH. I have successfully built
other autotool based gtk+ apps, but when I go to emerge/build
libgnomecanvas-2.10.2 linking fails with the following output:

root@host /var/tmp/portage/libgnomecanvas-2.10.2/work/libgnomecanvas-2.10.2
# make
...
make  all-recursive
make[1]: Entering directory
`/var/tmp/portage/libgnomecanvas-2.10.2/work/libgnomecanvas-2.10.2'
Making all in libgnomecanvas
make[2]: Entering directory
`/var/tmp/portage/libgnomecanvas-2.10.2/work/libgnomecanvas-2.10.2/libgnomecanvas'
make  all-am
make[3]: Entering directory
`/var/tmp/portage/libgnomecanvas-2.10.2/work/libgnomecanvas-2.10.2/libgnomecanvas'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory
`/var/tmp/portage/libgnomecanvas-2.10.2/work/libgnomecanvas-2.10.2/libgnomecanvas'
make[2]: Leaving directory
`/var/tmp/portage/libgnomecanvas-2.10.2/work/libgnomecanvas-2.10.2/libgnomecanvas'
Making all in glade
make[2]: Entering directory
`/var/tmp/portage/libgnomecanvas-2.10.2/work/libgnomecanvas-2.10.2/glade'
/bin/sh ../libtool --mode=link x86_64-pc-linux-gnu-gcc  -march=k8 -O2
-pipe   -o libcanvas.la -rpath /usr/lib64/libglade/2.0 -export-dynamic
-module -avoid-version  glade-canvas.lo
../libgnomecanvas/libgnomecanvas-2.la -Wl,--rpath -Wl,/usr/lib64
-L/usr/local/lib -lart_lgpl_2 -lpangoft2-1.0 -lglade-2.0 -lgtk-x11-2.0
-lxml2 -lpthread -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm
-lpangocairo-1.0 -lpango-1.0 -lfreetype -lz -lcairo -lgobject-2.0
-lgmodule-2.0 -ldl -lglib-2.0
grep: /usr/lib64/libgtk-x11-2.0.la: No such file or directory
/bin/sed: can't read /usr/lib64/libgtk-x11-2.0.la: No such file or directory
libtool: link: `/usr/lib64/libgtk-x11-2.0.la' is not a valid libtool archive
make[2]: *** [libcanvas.la] Error 1
make[2]: Leaving directory
`/var/tmp/portage/libgnomecanvas-2.10.2/work/libgnomecanvas-2.10.2/glade'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/libgnomecanvas-2.10.2/work/libgnomecanvas-2.10.2'
make: *** [all] Error 2

I am not familiar enough with libtool to determine why it is expecting
libgtk-x11-2.0.la in /usr/lib64 when it is present in
/usr/local/lib64, which seems to be in the linkers search path. 
Moving gtk+ to /usr is an option but I'm curious as to the cause of
this issue.

This is an amd64 installation with gentoo base system version 1.4.16.
I am using;
   libtool 1.5.10-r4,
   autoconf 2.59-r6 and
   automake 1.9.4

Thanks in advance for any help, or pointers to where this question may
be more appropriate.

Eoin

-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-10-04  9:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-04  9:32 [gentoo-amd64] Linker search path issue Eoin Hennessy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox