Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Feb 2010 23:00:47 -0800
From:      Rob Farmer <rfarmer@predatorlabs.net>
To:        Xin LI <delphij@gmail.com>
Cc:        Michael Proto <mike@jellydonut.org>, current@freebsd.org
Subject:   Re: "libutil.so.8" not found, required by "sendmail"
Message-ID:  <b025ceb71002042300i6e459d84ue781141818908a02@mail.gmail.com>
In-Reply-To: <a78074951002042251o1dfefd3bj39ad88eed38fe895@mail.gmail.com>
References:  <b025ceb71002041703h4d6553a2maa3389f7685b399@mail.gmail.com> <1de79841002041741q6b57b6e5s4f78542f8a1b892@mail.gmail.com> <b025ceb71002042218q38444aedgd8c95d0bd358fc0b@mail.gmail.com> <a78074951002042227u3646ab0brdefb6e86604e6c79@mail.gmail.com> <b025ceb71002042240r48026275p222e182558c8f653@mail.gmail.com> <a78074951002042251o1dfefd3bj39ad88eed38fe895@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Feb 4, 2010 at 10:51 PM, Xin LI <delphij@gmail.com> wrote:
> On Thu, Feb 4, 2010 at 10:40 PM, Rob Farmer <rfarmer@predatorlabs.net> wr=
ote:
>> On Thu, Feb 4, 2010 at 10:27 PM, Xin LI <delphij@gmail.com> wrote:
>>> Hi,
>>>
>>> On Thu, Feb 4, 2010 at 10:18 PM, Rob Farmer <rfarmer@predatorlabs.net> =
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 <delphij@delphij.net> http://www.delphij.net
>



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