Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Feb 2001 21:56:25 +0100 (CET)
From:      Blaz Zupan <blaz@amis.net>
To:        Troy Settle <troy@psknet.com>
Cc:        <freebsd-questions@freebsd.org>, <freebsd-ports@freebsd.org>
Subject:   Re: Postfix + MySQL (ports updated 2/8)
Message-ID:  <Pine.BSF.4.32.0102102154520.10012-100000@titanic.medinet.si>
In-Reply-To: <GIEHKBHPBGKJPNMBCOHFCEGPCAAA.troy@psknet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.32.0102102154520.10012-100000>