From owner-freebsd-ports Wed May 23 11:10:36 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B22CA37B440 for ; Wed, 23 May 2001 11:10:13 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f4NIADq97005; Wed, 23 May 2001 11:10:13 -0700 (PDT) (envelope-from gnats) Date: Wed, 23 May 2001 11:10:13 -0700 (PDT) Message-Id: <200105231810.f4NIADq97005@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: "Scot W. Hetzel" Subject: Re: ports/27563: postfix-current is broken Reply-To: "Scot W. Hetzel" Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR ports/27563; it has been noted by GNATS. From: "Scot W. Hetzel" To: , Cc: Subject: Re: ports/27563: postfix-current is broken Date: Wed, 23 May 2001 13:00:02 -0500 From: > >Description: > when building postfix-current with SASL and TLS support.. it provides the following output. > > /usr/local/lib/libsasl.a(checkpw.o): In function `mysql_verify_password': > checkpw.o(.text+0x12ec): undefined reference to `mysql_connect' > checkpw.o(.text+0x1320): undefined reference to `mysql_select_db' > checkpw.o(.text+0x1330): undefined reference to `mysql_close' > checkpw.o(.text+0x142c): undefined reference to `mysql_query' > checkpw.o(.text+0x143c): undefined reference to `mysql_store_result' > checkpw.o(.text+0x145d): undefined reference to `mysql_close' > checkpw.o(.text+0x1473): undefined reference to `mysql_affected_rows' > checkpw.o(.text+0x1486): undefined reference to `mysql_free_result' > checkpw.o(.text+0x148f): undefined reference to `mysql_close' > checkpw.o(.text+0x14d4): undefined reference to `mysql_free_result' > checkpw.o(.text+0x14e0): undefined reference to `mysql_close' > *** Error code 1 > Apparently, the SASL port was built with support to verify users from a MySQL database. You will need to either add "-lmysqlclient" to build postfix-current with MySQL support, or build security/cyrus-sasl without MySQL support. We most likely need a way to check if the security/cyrus-sasl port was built with support for LDAP and/or MySQL and add the appropriate libraries (-lmysqlclient -lldap -llber). Scot To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message