Re: libxml.so: undefined reference



Tue Nov 02 1999, James David Rich ->
> When compiling libglade-0.7 make fails with the following errors:
> gcc -mpentiumpro -O2 -Wall -Wunused -o .libs/test-libglade
> test-libglade.o glade/.libs/libglade-gnome.so -L/usr/local/lib
> -L/usr/X11R6.3/lib -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk
> -lgdk -lgmodule -lXext -lX11 -lgnome -lgnomesupport -lesd -lasound
> -laudiofile -lm -ldb -lglib -ldl -lxml -lz glade/.libs/libglade.so -lgtk
> -lgdk -lgmodule -lglib -ldl -lXext -lX11 -lm -lxml -lz -rdynamic
> -L/usr/local/lib -L/usr/X11R6.3/lib -rdynamic -lgnomeui -lart_lgpl
> -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -lXext -lX11 -lgnome
> -lgnomesupport -lesd -lasound -laudiofile -lm -ldb -lglib -ldl
> -L/usr/local/lib -lxml -lz -Wl,--rpath -Wl,/usr/local/lib
> /usr/local/lib/libxml.so: undefined reference to `gzopen'
> /usr/local/lib/libxml.so: undefined reference to `gzread'
> /usr/local/lib/libxml.so: undefined reference to `gzdopen'
> /usr/local/lib/libxml.so: undefined reference to `gzclose'
> /usr/local/lib/libxml.so: undefined reference to `gzwrite'

These are in the libz.so library. Make sure you have the right version
(I have 1.1.3 and it works.) It can be found at
http://www.cdrom.com/pub/infozip/zlib/

	n.

-- 
[ http://www.dtek.chalmers.se/~d95mback/ ] [ PGP: 0x453504F1 ] [ UIN: 4439498 ]
    Opinions expressed above are mine, and not those of my future employees.

PGP signature



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