libz fails to link to program

Tushar Teredesai tushar at
Wed Feb 5 07:30:48 PST 2003

Michel Hermier wrote:

>It's not a gcc error. The problem is the way the includes are taken by gcc.
>I had the problem several time and for me the solution was deleting the zlib.h 
>in /usr/X11R6/include wich comes with XFree86.
>I don't know how this problem is solved in the LFS(if any parts talk of it).
X should be built to link against the system installed libraries, the 
book links against system installed zlib and freetype.

Tushar Teredesai

Unsubscribe: send email to listar at
and put 'unsubscribe lfs-dev' in the subject header of the message

More information about the lfs-dev mailing list