Re: Compiling gnome-libs........




On Mon, 28 Dec 1998, Gabriele Giorgetti wrote:
> Gleef wrote:
> > On Mon, 28 Dec 1998, Gabriele Giorgetti wrote:
[snip]
> > > gcc -g -O2 -Wall -Wno-unused -o .libs/htmltest test.o -Wl,--rpath
> > > -Wl,/usr/local/gnome/lib ../gtk-xmhtml/.libs/libgtkxmhtml.so -lXpm
> > > -ljpeg -lpng -lz -lz -lSM -lICE -L/usr/local/gnome/lib -L/usr/X11R6/lib
> > > -lgtk -lgdk -lgmodule -lglib -ldl -lXext -lX11 -lm -lm -lXpm -ljpeg
> > > -lpng -lz -lz -lSM -lICE -L/usr/local/gnome/lib -L/usr/X11R6/lib -lgtk
> > > -lgdk -rdynamic -lgmodule -lglib -ldl -lXext -lX11 -lm -lm
> > > ../gtk-xmhtml/.libs/libgtkxmhtml.so: undefined reference to `uncompress'
> > > ../gtk-xmhtml/.libs/libgtkxmhtml.so: undefined reference to `compress'
[snip]
> 
> Well that's what i get doing  nm libz.so |grep compress in
> /usr/local/lib:

If your libz.so is in /usr/local/lib, that would explain it.  The gcc
command you get the error on isn't looking in /usr/local/lib to find
libraries.  First, double check to make sure there are no libz.so* files
elsewhere (in particular, check /usr/X11R6/lib).

Now, remove the config.cache file, and configure with the option
"--libdir=/usr/local/lib", it should find your /usr/local/lib/libz.so
properly.  Make sure you use this option whenever you are configuring a
GNOME package.

Best of Luck,
-Gleef



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