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

Rob Farmer rfarmer at predatorlabs.net
Fri Feb 5 07:00:49 UTC 2010


On Thu, Feb 4, 2010 at 10:51 PM, Xin LI <delphij at gmail.com> wrote:
> 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.

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.

-- 
Rob Farmer

>
> Cheers,
> --
> Xin LI <delphij at delphij.net> http://www.delphij.net
>


More information about the freebsd-current mailing list