Re: [xml] cannot find -lz



You need to have zlib installed.  There is probably a package for it in
SuSE.

On Thu, 2003-05-22 at 16:29, Joseph Jude wrote:
Hello there,
I installed suse 8.0 and the libxml2 and libxslt that came with it.
I am now linking my application and it aborts with an error: cannot find -lz

Should I reinstall libxml2 and libxslt or it is my makefile that is probably
wrong? I should admit though I am new to linux and these make process.

This is my makefile (wx is the gui library that I am using)

CC = gcc
fow: fowfrm.o fowapp.o
 $(CC) -o fow fowapp.o fowfrm.o `wx-config --libs` `xml2-config --libs`
`xslt-config --libs`

fowfrm.o: FOWFrm.cpp FOWFrm.h
 $(CC) `wx-config --cxxflags` `xml2-config --cflags`
`xslt-config --cflags` -c FOWFrm.cpp -o fowfrm.o

fowapp.o: FOWApp.cpp FOWApp.h FOW.xpm
 $(CC) `wx-config --cxxflags` `xml2-config --cflags`
`xslt-config --cflags` -c FOWApp.cpp -o fowapp.o


Thanks in advance,
-----------------------------------------
Joseph Jude



_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml gnome org
http://mail.gnome.org/mailman/listinfo/xml






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