From owner-freebsd-questions Sat Feb 10 17:17:21 2001 Delivered-To: freebsd-questions@freebsd.org Received: from orion.psknet.com (mail.psknet.com [63.171.251.4]) by hub.freebsd.org (Postfix) with SMTP id 3893837B67D for ; Sat, 10 Feb 2001 17:16:56 -0800 (PST) Received: (qmail 76714 invoked from network); 11 Feb 2001 01:16:52 -0000 Received: from abyss.dashit.net (HELO ABYSS) (209.100.22.250) by mail.psknet.com with SMTP; 11 Feb 2001 01:16:52 -0000 From: "Troy Settle" To: "Blaz Zupan" Cc: , Subject: RE: Postfix + MySQL (ports updated 2/8) Date: Sat, 10 Feb 2001 20:16:52 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal In-Reply-To: X-AntiVirus: scanned for viruses by Pulaski Networks (http://www.psknet.com) using AMaViS (http://www.amavis.org) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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