From owner-freebsd-current@FreeBSD.ORG Fri Feb 5 07:00:49 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15CC5106568D for ; Fri, 5 Feb 2010 07:00:49 +0000 (UTC) (envelope-from rfarmer@predatorlabs.net) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by mx1.freebsd.org (Postfix) with ESMTP id CE1008FC21 for ; Fri, 5 Feb 2010 07:00:48 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 5so396445qwd.7 for ; Thu, 04 Feb 2010 23:00:48 -0800 (PST) MIME-Version: 1.0 Received: by 10.224.63.170 with SMTP id b42mr766862qai.39.1265353247516; Thu, 04 Feb 2010 23:00:47 -0800 (PST) X-Originating-IP: [128.95.102.68] In-Reply-To: References: <1de79841002041741q6b57b6e5s4f78542f8a1b892@mail.gmail.com> Date: Thu, 4 Feb 2010 23:00:47 -0800 Message-ID: From: Rob Farmer To: Xin LI Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Michael Proto , current@freebsd.org Subject: Re: "libutil.so.8" not found, required by "sendmail" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Feb 2010 07:00:49 -0000 On Thu, Feb 4, 2010 at 10:51 PM, Xin LI wrote: > On Thu, Feb 4, 2010 at 10:40 PM, Rob Farmer wr= ote: >> On Thu, Feb 4, 2010 at 10:27 PM, Xin LI wrote: >>> Hi, >>> >>> On Thu, Feb 4, 2010 at 10:18 PM, Rob Farmer = wrote: >>>>>> # ldd /usr/sbin/sendmail >>>>>> /usr/sbin/sendmail: >>>>>> =A0 =A0 =A0 =A0libutil.so.8 =3D> not found (0x0) >>>>>> =A0 =A0 =A0 =A0libc.so.7 =3D> /lib/libc.so.7 (0x800646000) >>>>>> >>>>>> I'm not sure if this is a problem with mailwrapper in the base syste= m >>>>>> or the ssmtp port - any pointers? >>> [...] >>>>> minibsd8-dev:root/ # ldd /usr/sbin/mailwrapper >>>>> /usr/sbin/mailwrapper: >>>>> =A0 =A0 =A0 =A0libutil.so.8 =3D> /lib/libutil.so.8 (0x28083000) >>>>> =A0 =A0 =A0 =A0libc.so.7 =3D> /lib/libc.so.7 (0x28090000) >>>>> >>>>> Try reinstalling libutil from /usr/src/lib/libutil perhaps? >>>> >>>> The strange thing is that I have libutil.9 and I've tried rebuilding >>>> ssmtp and world and nothing is working... I was just wondering if >>>> other people were seeing similar problems or if there's something >>>> messed up on my system. Would seem to be my system - I'll have to look >>>> around a bit more :( >>> >>> Try: >>> >>> rm /etc/make.conf >> >> Found it - in src.conf I have WITHOUT_MAIL=3Dtrue and that seems to >> prevent mailwrapper from building at all. However, it seems this >> option is a little buggy - shouldn't the old version have been deleted >> when I did make delete-old? That would have made the problem more >> obvious. > > I agree, this is a bug... > > Could you please file a PR so it wouldn't be forgotten? =A0If nobody > works on it I'll create a patch when I have time. > > For those who have interest, the corresponding file is > src/tools/build/mk/OptionalObsoleteFiles.inc. I've filed PR #143571. I looked at making a patch but I'm not sure what to do with /usr/sbin/sendmail - it is a symlink to mailwrapper. I'm not sure if it should be outright deleted if building without mailwrapper or if something more complex should be done to point it to the actual sendmail binary. --=20 Rob Farmer > > Cheers, > -- > Xin LI http://www.delphij.net >