Re: gnome-libs won't compile



nuke@bayside.net (nuke@bayside.net) wrote:

> gcc -g -O2 -o .libs/htmltest test.o -Wl,--rpath -Wl,/usr/local/lib
> ../gtk-xmhtml/.libs/libgtkxmhtml.so -lXpm -ljpeg -lz -lSM -lICE
> -L/usr/local/lib -L/usr/X11R6/lib -lgtk -lgdk -lglib -lXext -lX11 -lm -lm
> -lXpm -ljpeg -lz -lSM -lICE -L/usr/local/lib -L/usr/X11R6/lib -lgtk -lgdk
> -lglib -lXext -lX11 -lm ../intl/libintl.a -lm
> ../gtk-xmhtml/.libs/libgtkxmhtml.so: undefined reference to `uncompress'
> ../gtk-xmhtml/.libs/libgtkxmhtml.so: undefined reference to `compress'

You probably have an old version of libz in /usr/X11R6/lib.  You probably
have a newer one in /usr/lib which is the one you should be using.  Try
renaming /usr/X11R6/lib/libz.a (and/or .so if that exists) to something
else so the linker won't pick it up.

-- 
"Daddy, why do those people have to    |   Greg Wooledge
  use Microsoft Windows?"              |   wooledge@kellnet.com
"Don't stare, son; it's not polite."   |   http://www.kellnet.com/wooledge/



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