Aha! libpng error is the root of my problems; still need help

OK, after some diligent searching, I discovered that the reason gnome-libs
gets horked up while trying to compile is because of an error that happens
when trying to create gnome-stock-imlib.h, by running convertrgb over the
.pngs in the pixmaps/ directory....  (all of this happens in the Makefile in

Each time convertrgb gets called, I get:
	libpng error: Incompatible libpng version in application and library
and gnome-stock-imlib.h doesn't get an entry in it, and so we end up with a
basically empty header file.

So, this sounds like some library linked to convertrgb is itself linked to a
different libpng version (possibly statically?), but I can't figure out which
one it might be for the life of me...

'ldd convertrgb' gives me:
        libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x40007000)
        libpng.so.2 => /usr/lib/libpng.so.2 (0x40014000)
        libz.so.1 => /usr/lib/libz.so.1 (0x4003d000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x4004b000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40056000)
        libgtk-1.1.so.11 => /usr/lib/libgtk-1.1.so.11 (0x4006e000)
        libgdk-1.1.so.11 => /usr/lib/libgdk-1.1.so.11 (0x40172000)
        libgmodule-1.1.so.12 => /usr/lib/libgmodule-1.1.so.12 (0x401a0000)
        libglib-1.1.so.12 => /usr/lib/libglib-1.1.so.12 (0x401a3000)
        libdl.so.2 => /lib/libdl.so.2 (0x401c2000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x401c5000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x401d1000)
        libm.so.6 => /lib/libm.so.6 (0x40275000)
        libc.so.6 => /lib/libc.so.6 (0x4028e000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)

but running ldd on each of those shows that none of those are linked to libpng
at all.  This is libpng-1.0.2, freshly compiled from source to try to figure
this out.

Any ideas?  Thanks in advance....

R Pickett                Look around you. This is what the world
emerson@hayseed.net      looks like at the end of the millenium.

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