Date: Sat, 10 Feb 2001 20:16:52 -0500 From: "Troy Settle" <troy@psknet.com> To: "Blaz Zupan" <blaz@amis.net> Cc: <freebsd-questions@freebsd.org>, <freebsd-ports@freebsd.org> Subject: RE: Postfix + MySQL (ports updated 2/8) Message-ID: <GIEHKBHPBGKJPNMBCOHFGEGPCAAA.troy@psknet.com> In-Reply-To: <Pine.BSF.4.32.0102102154520.10012-100000@titanic.medinet.si>
next in thread | previous in thread | raw e-mail | index | archive | help
Beautiful! Thanks Blaz. I trust you'll be commiting this soon? Though I don't suppose I'll have problems remembering this when/if I take postfix into production. -- Troy Settle Pulaski Networks 540.994.4254 They told me to think out of the box, but I tripped over it, now I own my own company. ** -----Original Message----- ** From: Blaz Zupan [mailto:blaz@amis.net] ** Sent: Saturday, February 10, 2001 3:56 PM ** To: Troy Settle ** Cc: freebsd-questions@freebsd.org; freebsd-ports@freebsd.org ** Subject: Re: Postfix + MySQL (ports updated 2/8) ** ** ** > cc -DHAS_MYSQL -I/usr/local/include/mysql -O -pipe -I. ** -I../include -DFREEB ** > SD4 -o error error.o ../lib/libmaster.a ../lib/libglobal.a ** ../lib/libutil.a ** > /usr/local/lib/mysql/libmysqlclient.a -lm ** > /usr/local/lib/mysql/libmysqlclient.a(my_compress.o): In function ** > `my_compress_alloc': ** > my_compress.o(.text+0xb0): undefined reference to `compress' ** > /usr/local/lib/mysql/libmysqlclient.a(my_compress.o): In function ** > `my_uncompress': ** > my_compress.o(.text+0x121): undefined reference to `uncompress' ** > *** Error code 1 ** ** Try the patch below. It appears that the 3.23 mysql libraries need libz. ** ** --- postfix/Makefile.orig Tue Feb 6 03:56:33 2001 ** +++ postfix/Makefile Sat Feb 10 21:53:38 2001 ** @@ -60,7 +60,7 @@ ** .if defined(WITH_MYSQL) ** BUILD_DEPENDS+= ** ${LOCALBASE}/lib/mysql/libmysqlclient.a:${PORTSDIR}/databases/mys ** ql323-client ** POSTFIX_CCARGS+= -DHAS_MYSQL -I${LOCALBASE}/include/mysql ** -POSTFIX_AUXLIBS+= ${LOCALBASE}/lib/mysql/libmysqlclient.a -lm ** +POSTFIX_AUXLIBS+= ${LOCALBASE}/lib/mysql/libmysqlclient.a -lm -lz ** .endif ** ** .if defined(WITH_LDAP) ** ** ** ** Blaz Zupan, Medinet d.o.o, Linhartova 21, 2000 Maribor, Slovenia ** E-mail: blaz@amis.net, Tel: +386-2-320-6320, Fax: +386-2-320-6325 ** ** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?GIEHKBHPBGKJPNMBCOHFGEGPCAAA.troy>