Re: "libutil.so.8" not found, required by "sendmail"

From: Xin LI <delphij_at_gmail.com>
Date: Thu, 4 Feb 2010 22:51:50 -0800
On Thu, Feb 4, 2010 at 10:40 PM, Rob Farmer <rfarmer_at_predatorlabs.net> wrote:
> On Thu, Feb 4, 2010 at 10:27 PM, Xin LI <delphij_at_gmail.com> wrote:
>> Hi,
>>
>> On Thu, Feb 4, 2010 at 10:18 PM, Rob Farmer <rfarmer_at_predatorlabs.net> wrote:
>>>>> # ldd /usr/sbin/sendmail
>>>>> /usr/sbin/sendmail:
>>>>>        libutil.so.8 => not found (0x0)
>>>>>        libc.so.7 => /lib/libc.so.7 (0x800646000)
>>>>>
>>>>> I'm not sure if this is a problem with mailwrapper in the base system
>>>>> or the ssmtp port - any pointers?
>> [...]
>>>> minibsd8-dev:root/ # ldd /usr/sbin/mailwrapper
>>>> /usr/sbin/mailwrapper:
>>>>        libutil.so.8 => /lib/libutil.so.8 (0x28083000)
>>>>        libc.so.7 => /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=true 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?  If 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.

Cheers,
-- 
Xin LI <delphij_at_delphij.net> http://www.delphij.net
Received on Fri Feb 05 2010 - 05:51:55 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:00 UTC