From owner-freebsd-ports Sat Feb 10 12:56:49 2001 Delivered-To: freebsd-ports@freebsd.org Received: from titanic.medinet.si (titanic.medinet.si [212.18.32.66]) by hub.freebsd.org (Postfix) with ESMTP id F05A737B491; Sat, 10 Feb 2001 12:56:30 -0800 (PST) Received: by titanic.medinet.si (Postfix, from userid 1000) id AD4EA26C06; Sat, 10 Feb 2001 21:56:25 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by titanic.medinet.si (Postfix) with ESMTP id 9F0311170C; Sat, 10 Feb 2001 21:56:25 +0100 (CET) Date: Sat, 10 Feb 2001 21:56:25 +0100 (CET) From: Blaz Zupan To: Troy Settle Cc: , Subject: Re: Postfix + MySQL (ports updated 2/8) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > 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/mysql323-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-ports" in the body of the message