[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: OpenBSD portable binary (Was Re: Help on building MONIT on Solaris x
From: |
Jan-Henrik Haukeland |
Subject: |
Re: OpenBSD portable binary (Was Re: Help on building MONIT on Solaris x86-64) |
Date: |
Tue, 12 Apr 2011 08:52:41 +0200 |
Hmmm, I'm not responsible for the OpenBSD build and I did not knew that OpenBSD
uses an INSANE shared library version scheme. I just assumed that shared
_systems_ library such as libc and libpthread does not change its _major_
version between OS _minor_ versions updates. Apparently it does! This means
that a binary built for OpenBSD 4.7 will not work on OpenBSD 4.8 as you
demonstrated because libc's major version number is bumped and ld require major
version number to match (at least).
Unless there is an easy way around this, it means that we'll just have to
remove binary support of Monit for OpenBSD because we will need to provide
binaries for every minor OpenBSD 4.x release which is way too much work. We
should probably also remove M/Monit support for OpenBSD as well.
On Apr 12, 2011, at 12:16 AM, Kevin Chadwick wrote:
> On Sun, 10 Apr 2011 01:07:25 +0200
> Jan-Henrik Haukeland wrote:
>
>>
>> On Apr 9, 2011, at 6:47 PM, Kevin Chadwick wrote:
>>
>>> Otherwise to have a working binary using the right libraries you are
>>> going to have to rebuild on 4.8 now. 4.9 in a few weeks and then 5.0 in
>>> 6 months.
>>
>> I don't believe this is correct. The Monit binary link _dynamic_ with
>> systems libraries only [1]. That is: you should be able to use the same
>> monit binary on all 4.x versions from at least 4.7 without having to rebuild
>> or install older libraries. If you have prof that there is a library version
>> problem we would be very interested to know about this.
>>
>> [1] OpenSSL is static linked into the Monit binary to avoid depending on a
>> certain OpenSSL version or that OpenSSL is installed on the system.
>>
>
> On execution of the 5.2.5 binary blob on 4.8 i386 I get.
>
> can't load library libc.so.51.0
>
> After a few tries I get
>
> can't load library libpthread.so.11.1
>
> After a few manually attempted executions it goes back to libc.
>
> The current libraries on 4.8 stable are
>
> libc.so.56.0
> libpthread.so.12.1
>
> p.s. I have rediffed the patches from the openbsd ports tree for monit4
> to work with 5.2.3 and they still apply to 5.2.5, only simple changes
> but are you interested in or seen them.
>
> "http://www.openbsd.org/cgi-bin/cvsweb/ports/sysutils/monit/patches/"
>
> Thanks,
> Kc
>
- Re: Check Host in MONIT, (continued)
- Re: Check Host in MONIT, Martin Pala, 2011/04/11
- RE: Check Host in MONIT, Paul Sun, 2011/04/11
- Re: Check Host in MONIT, Martin Pala, 2011/04/11
- RE: Check Host in MONIT, Paul Sun, 2011/04/11
- Re: Check Host in MONIT, Martin Pala, 2011/04/11
- Auto start of MONIT on Solaris 10, Paul Sun, 2011/04/12
- Re: Auto start of MONIT on Solaris 10, Martin Pala, 2011/04/12
- Can a MONIT script accept arguments?, Ortiz, Nelson, 2011/04/29
- Re: Can a MONIT script accept arguments?, Kevin Chadwick, 2011/04/30
- OpenBSD portable binary (Was Re: Help on building MONIT on Solaris x86-64), Kevin Chadwick, 2011/04/11
- Re: OpenBSD portable binary (Was Re: Help on building MONIT on Solaris x86-64),
Jan-Henrik Haukeland <=
- Re: OpenBSD portable binary (Was Re: Help on building MONIT on Solaris x86-64), TimH, 2011/04/12
- Re: OpenBSD portable binary (Was Re: Help on building MONIT on Solaris x86-64), Kevin Chadwick, 2011/04/12
- Re: [Bulk] Re: Help on building MONIT on Solaris x86-64, Kevin Chadwick, 2011/04/11
- Re: [Bulk] Re: Help on building MONIT on Solaris x86-64, Nestor Urquiza, 2011/04/12