[xml] cannot find -lz



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






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