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

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Feb 4, 2010 at 10:40 PM, Rob Farmer <rfarmer@predatorlabs.net> wrot=
e:
> 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> w=
rote:
>>>>> # ldd /usr/sbin/sendmail
>>>>> /usr/sbin/sendmail:
>>>>> =C2=A0 =C2=A0 =C2=A0 =C2=A0libutil.so.8 =3D> not found (0x0)
>>>>> =C2=A0 =C2=A0 =C2=A0 =C2=A0libc.so.7 =3D> /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:
>>>> =C2=A0 =C2=A0 =C2=A0 =C2=A0libutil.so.8 =3D> /lib/libutil.so.8 (0x2808=
3000)
>>>> =C2=A0 =C2=A0 =C2=A0 =C2=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?  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,
--=20
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?a78074951002042251o1dfefd3bj39ad88eed38fe895>