Re: why is gtk install so difficult?



Tara Milana wrote:
On 2003.10.19 06:23 Sven Neumann wrote:


As outlined in http://bugzilla.gnome.org/show_bug.cgi?id=103708 your
problem to compile gdk-pixbuf is a version incompatibility with your
binutils and you can hardly blame the GTK+ developers for this.


Hi, I just upgraded to the version I was told to use to
compile for GTK:

ldd (GNU libc) 2.1.3

Did that fix the problem?

From http://sources.redhat.com/ml/binutils/2001-12/msg00182.html

  The following patch adds anonymous version nodes (per Ulrich's request
  anonymous version nodes are allowed only if there are no other nodes in the
  version script).

gcc -shared  .libs/gdk-pixbuf.o .libs/gdk-pixbuf-animation.o
.libs/gdk-pixbuf-data.o .libs/gdk-pixbuf-io.o .libs/gdk-pixbuf-loader.o
.libs/gdk-pixbuf-scale.o .libs/gdk-pixbuf-util.o .libs/gdk-pixdata.o
.libs/gdk-pixbuf-enum-types.o -Wl,--whole-archive pixops/.libs/libpixops.a
-Wl,--no-whole-archive  -L/usr/lib /usr/lib/libgmodule-2.0.so -ldl
/usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so -lm
-Wl,--export-dynamic -Wl,-soname -Wl,libgdk_pixbuf-2.0.so.0
-Wl,-version-script -Wl,.libs/libgdk_pixbuf-2.0.ver -o
.libs/libgdk_pixbuf-2.0.so.0.200.4
/usr/bin/ld: anonymous version tag cannot be combined with other version
tags

Notice the above link involves -Wl,-version-script

The error appears to be creating a new library by linking other
library objects. If some of these libraries had anonymous version
nodes and others did not, maybe that is what causes the error.

Maybe you could try passing --disable-new-dtags, or else recompile
any old libraries in the above link.

`--enable-new-dtags'
`--disable-new-dtags'
     This linker can create the new dynamic tags in ELF. But the older
     ELF systems may not understand them. If you specify
     `--enable-new-dtags', the dynamic tags will be created as needed.
     If you specify `--disable-new-dtags', no new dynamic tags will be
     created. By default, the new dynamic tags are not created. Note
     that those options are only available for ELF systems.

Versioning is in this manual: http://www.gnu.org/manual/ld-2.9.1/ld.html

My guess is there really needs to be some way of autoconf reading the ld
versioning info from each library to ensure compatibility between them.
Maybe there should be an extra ld utility for doing the dump.




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