Re: libxml.so: undefined reference



Do you have a file /usr/X11R6/lib/libz.a (I think that is the location)?
If you do, then this should be deleted -- it is an old version of zlib,
and does not have the required symbols.  I think this is in the gnome faq.

James.

--
Email: james@daa.com.au
WWW:   http://www.daa.com.au/~james/


On Tue, 2 Nov 1999, James David Rich wrote:

> This is the third time in two weeks I have tried to send this message to
> the list so if you already seen it please forgive me.
> 
> When compiling libglade-0.7 make fails with the following errors:
> 
> make[2]: Entering directory `/home/jimi/tmp/libglade-0.7'
> /bin/sh ./libtool --mode=link gcc  -mpentiumpro -O2 -Wall -Wunused   -o
> test-libglade  test-libglade.o glade/libglade-gnome.la glade/libglade.la
> -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 
> 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'
> collect2: ld returned 1 exit status
> make[2]: *** [test-libglade] Error 1
> 
> libxml compiled just fine as did all the other libraries from the
> october gnome release.  Can someone tell me what is wrong here and how
> to fix it?
> -- 
> James Rich			For Linux help and information
> 				please visit:
> reply to:			http://www.linuxrx.com/
> 
> james.rich@m.cc.utah.edu	Linux and AS/400 admin.
> 
> 
> -- 
> To unsubscribe: mail gnome-devel-list-request@gnome.org with "unsubscribe"
> as the Subject.
> 



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