<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 5.50.4937.800" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=443061019-15112004><FONT face=Arial size=2>I'm having a problem 
making the mysql module for ser.&nbsp; When I type make modules everything 
compiles fine except for the mysql.so,&nbsp; it returns an error saying: 
</FONT></SPAN></DIV>
<DIV><SPAN class=443061019-15112004><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; " /usr/bin/ld: cannot find 
-lz</FONT></SPAN></DIV>
<DIV><SPAN class=443061019-15112004><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; collect2: ld 
returned 1 exit status"</FONT></SPAN></DIV>
<DIV><SPAN class=443061019-15112004><FONT face=Arial size=2>If I remove the -lz 
it makes but can't be loaded correctly by ser.&nbsp; Any help would be greatly 
appreciated.</FONT></SPAN></DIV>
<DIV><SPAN class=443061019-15112004><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=443061019-15112004><FONT face=Arial size=2>Below is the 
makefile I'm using:</FONT></SPAN></DIV>
<DIV><SPAN class=443061019-15112004><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=443061019-15112004><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=443061019-15112004><FONT face=Arial size=2># $Id: Makefile,v 
1.22 2003/09/16 18:55:07 janakj Exp $<BR>#<BR># WARNING: do not run this 
directly, it should be run by the master Makefile</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=443061019-15112004></SPAN></FONT>&nbsp;</DIV>
<DIV><SPAN class=443061019-15112004><FONT face=Arial size=2>include 
../../Makefile.defs<BR>auto_gen=<BR>NAME=mysql.so</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV><SPAN 
class=443061019-15112004><FONT face=Arial size=2>
<DIV><BR># mysql.h locations (freebsd,openbsd&nbsp; solaris)<BR>DEFS 
+=-I$(LOCALBASE)/include -I$(LOCALBASE)/include/mysql 
\<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
-I$(LOCALBASE)/mysql/include -I/usr/pkg/include </DIV>
<DIV><BR># libmysqlclient locations on RH/Suse, Solaris /OpenBSD, FreeBSD<BR># 
(Debian does the right thing and puts it in /usr/lib)<BR>LIBS=-L/usr/lib/mysql 
-L$(LOCALBASE)/lib -L$(LOCALBASE)/lib/mysql 
\<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
-L$(LOCALBASE)/mysql/lib/mysql/ -L/usr/pkg/lib/mysql 
\<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
-L$(LOCALBASE)/mysql/lib 
\<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
-lmysqlclient -lz</DIV>
<DIV>&nbsp;</DIV>
<DIV>include ../../Makefile.modules<BR></FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2><SPAN class=443061019-15112004>Thanks for any help, 
</SPAN></FONT></DIV>
<DIV><SPAN class=443061019-15112004><FONT face=Arial size=2>Zack 
Medlin</FONT></SPAN></DIV></BODY></HTML>