Quantcast

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

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

Rob Farmer-2
Hi,

I'm running current (r203336) with mail/ssmtp from ports installed
instead of sendmail. Whenever I try to send email, I get an error that
libutil.so.8 is not available.

# periodic daily
/libexec/ld-elf.so.1: Shared object "libutil.so.8" not found, required
by "sendmail"

# 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?

Thanks,
--
Rob Farmer
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

Michael Proto-2
On Thu, Feb 4, 2010 at 8:03 PM, Rob Farmer <[hidden email]> wrote:

> Hi,
>
> I'm running current (r203336) with mail/ssmtp from ports installed
> instead of sendmail. Whenever I try to send email, I get an error that
> libutil.so.8 is not available.
>
> # periodic daily
> /libexec/ld-elf.so.1: Shared object "libutil.so.8" not found, required
> by "sendmail"
>
> # 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?
>
> Thanks,
> --
> Rob Farmer
> _______________________________________________
> [hidden email] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "[hidden email]"
>

Would appear to be a problem with your base system, as both
mailwrapper and /usr/libexec/sendmail/sendmail both use libutil.so.8:

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?


-Proto
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

Justin Hibbits-2
In reply to this post by Rob Farmer-2
On Thu, Feb 4, 2010 at 8:03 PM, Rob Farmer <[hidden email]> wrote:

> Hi,
>
> I'm running current (r203336) with mail/ssmtp from ports installed
> instead of sendmail. Whenever I try to send email, I get an error that
> libutil.so.8 is not available.
>
> # periodic daily
> /libexec/ld-elf.so.1: Shared object "libutil.so.8" not found, required
> by "sendmail"
>
> # 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?
>
> Thanks,
> --
> Rob Farmer
> _______________________________________________
> [hidden email] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "[hidden email]"
>

libutil's version was bumped to 9 with the removal of utmp, so if you did a
make delete-old after your most recent upgrade you'll have lost
libutil.so.8.  Recompiling mail/ssmtp will make it link against the newer
library.
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

Rob Farmer-2
In reply to this post by Michael Proto-2
On Thu, Feb 4, 2010 at 5:41 PM, Michael Proto <[hidden email]> wrote:

> On Thu, Feb 4, 2010 at 8:03 PM, Rob Farmer <[hidden email]> wrote:
>> Hi,
>>
>> I'm running current (r203336) with mail/ssmtp from ports installed
>> instead of sendmail. Whenever I try to send email, I get an error that
>> libutil.so.8 is not available.
>>
>> # periodic daily
>> /libexec/ld-elf.so.1: Shared object "libutil.so.8" not found, required
>> by "sendmail"
>>
>> # 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?
>>
>> Thanks,
>> --
>> Rob Farmer
>> _______________________________________________
>> [hidden email] mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to "[hidden email]"
>>
>
> Would appear to be a problem with your base system, as both
> mailwrapper and /usr/libexec/sendmail/sendmail both use libutil.so.8:
>
> 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 :(

--
Rob Farmer

>
>
> -Proto
>
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

Xin LI-5
Hi,

On Thu, Feb 4, 2010 at 10:18 PM, Rob Farmer <[hidden email]> 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
cd /usr/src/usr.bin/mailwrapper
make cleandir
make cleandir obj depend all
sudo make install

--
Xin LI <[hidden email]> http://www.delphij.net
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

Rob Farmer-2
On Thu, Feb 4, 2010 at 10:27 PM, Xin LI <[hidden email]> wrote:

> Hi,
>
> On Thu, Feb 4, 2010 at 10:18 PM, Rob Farmer <[hidden email]> 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 <[hidden email]> http://www.delphij.net
>
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

Xin LI-5
On Thu, Feb 4, 2010 at 10:40 PM, Rob Farmer <[hidden email]> wrote:

> On Thu, Feb 4, 2010 at 10:27 PM, Xin LI <[hidden email]> wrote:
>> Hi,
>>
>> On Thu, Feb 4, 2010 at 10:18 PM, Rob Farmer <[hidden email]> 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 <[hidden email]> http://www.delphij.net
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

Rob Farmer-2
On Thu, Feb 4, 2010 at 10:51 PM, Xin LI <[hidden email]> wrote:

> On Thu, Feb 4, 2010 at 10:40 PM, Rob Farmer <[hidden email]> wrote:
>> On Thu, Feb 4, 2010 at 10:27 PM, Xin LI <[hidden email]> wrote:
>>> Hi,
>>>
>>> On Thu, Feb 4, 2010 at 10:18 PM, Rob Farmer <[hidden email]> 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 <[hidden email]> http://www.delphij.net
>
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[hidden email]"
Loading...