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

Rob Farmer rfarmer at predatorlabs.net
Fri Feb 5 06:40:50 UTC 2010


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.

-- 
Rob Farmer

> cd /usr/src/usr.bin/mailwrapper
> make cleandir
> make cleandir obj depend all
> sudo make install
>
> --
> Xin LI <delphij at delphij.net> http://www.delphij.net
>


More information about the freebsd-current mailing list