From owner-freebsd-stable@FreeBSD.ORG Tue Nov 8 01:42:16 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from green.homeunix.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7E12D16A41F; Tue, 8 Nov 2005 01:42:16 +0000 (GMT) (envelope-from green@green.homeunix.org) Received: from green.homeunix.org (green@localhost [127.0.0.1]) by green.homeunix.org (8.13.4/8.13.1) with ESMTP id jA81gFZF087999; Mon, 7 Nov 2005 20:42:15 -0500 (EST) (envelope-from green@green.homeunix.org) Received: (from green@localhost) by green.homeunix.org (8.13.4/8.13.1/Submit) id jA81gF4e087998; Mon, 7 Nov 2005 20:42:15 -0500 (EST) (envelope-from green) Date: Mon, 7 Nov 2005 20:42:14 -0500 From: Brian Fundakowski Feldman To: sammy!!! Message-ID: <20051108014214.GF37350@green.homeunix.org> References: <953CD34C-5DBA-461B-AAA9-C4073E517F89@lost-angel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <953CD34C-5DBA-461B-AAA9-C4073E517F89@lost-angel.com> User-Agent: Mutt/1.5.11 Cc: freebsd-stable@freebsd.org Subject: Re: Sendmail not compiling with make world in 6.0 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Nov 2005 01:42:16 -0000 On Mon, Nov 07, 2005 at 07:28:06PM -0500, sammy!!! wrote: > I get this error when trying to do a make world with FreeBSD 6.0. > ===> libexec/mail.local (all) > cc -O2 -fno-strict-aliasing -pipe -I/usr/src/libexec/ > mail.local/../../contrib/sendmail/include -I. -I/usr/local/include/ > sasl1 -DSASL -c /usr/src/libexec/mail.local/../../contrib/sendmail/ > mail.local/mail.local.c > cc -O2 -fno-strict-aliasing -pipe -I/usr/src/libexec/ > mail.local/../../contrib/sendmail/include -I. -I/usr/local/include/ > sasl1 -DSASL -L/usr/local/lib -o mail.local mail.local.o /usr/obj/ > usr/src/libexec/mail.local/../../lib/libsm/libsm.a -lsasl > /usr/obj/usr/src/tmp/usr/bin/ld: warning: libcrypt.so.2, needed by / > usr/local/lib/libsasl.so, not found (try using -rpath or -rpath-link) > /usr/obj/usr/src/tmp/usr/bin/ld: warning: libpam.so.2, needed by /usr/ > local/lib/libsasl.so, not found (try using -rpath or -rpath-link) > /usr/local/lib/libsasl.so: undefined reference to `pam_end' > /usr/local/lib/libsasl.so: undefined reference to `pam_authenticate' > /usr/local/lib/libsasl.so: undefined reference to `crypt' > /usr/local/lib/libsasl.so: undefined reference to `pam_start' > *** Error code 1 > > Stop in /usr/src/libexec/mail.local. > *** Error code 1 > > > I have the following in my /etc/make.conf > SENDMAIL_CFLAGS=-I/usr/local/include/sasl1 -DSASL > SENDMAIL_LDFLAGS=-L/usr/local/lib > SENDMAIL_LDADD=-lsasl > > Any clues on why this is failing with 6.0? It worked in 5.4 no > problem... You're still using your libsasl from 5.4. The warnings pretty unequivocally showed that it can't find the libraries it was originally linked against. -- Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\ <> green@FreeBSD.org \ The Power to Serve! \ Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\