[7967] in athena10
Re: new packages for thirdparty
daemon@ATHENA.MIT.EDU (Alex Prengel)
Thu Jul 28 22:45:37 2011
From: Alex Prengel <alexp@MIT.EDU>
To: Geoffrey Thomas <geofft@mit.edu>
Cc: "debathena@mit.edu" <debathena@mit.edu>, alexp@mit.edu
Date: Thu, 28 Jul 2011 22:45:28 -0400
In-Reply-To: <alpine.DEB.2.00.1107282145500.20598@tyger.mit.edu>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Message-ID: <1311907529.1856.9.camel@localhost.localdomain>
Mime-Version: 1.0
On Thu, 2011-07-28 at 21:49 -0400, Geoffrey Thomas wrote:
> On Thu, 28 Jul 2011, Alex T Prengel wrote:
>
> > On Thu, 2011-07-28 at 19:12 -0400, Geoffrey Thomas wrote:
> >> Did you want just the libmpfr1ldbl library, or libmpfr-dev, which depends
> >> on libmpfr1ldbl on Lucid/Lenny and below and libmpfr4 on Maverick/Squeeze
> >> and above? Starting from Debian Squeeze, libmpfr1ldbl no longer exists,
> >> superseded by libmpfr4. Because of this, it also stands a chance of
> >> disappearing from Ubuntu (it looks like Ubuntu has forked it by mistake,
> >> since there are no Ubuntu-specific changes in the patch).
> >>
> >> Most of debathena-thirdparty-libraries is -dev libraries.
> >
> > Well, this is how this came up:
> >
> > /afs/athena.mit.edu/software/gccgo_v4.50/arch/amd64_ubuntu1004/libexec/gcc/x86_64-unknown-linux-gnu/4.5.0/go1
> >
> > wants libmpfr.so.1.
> >
> >> From Ubuntu Packages Search, the only package containing this is from
> > libmpfr1ldbl. libmpfr-dev has /usr/lib/libmpfr.so, but I'm not sure that
> > will satisfy the library requirement (I haven't tested). Whatever will
> > make go1 execute is fine with me.
>
> For Lucid, libmpfr-dev 2.4.2-3ubuntu1 pulls in libmpfr1ldbl, which has
> libmpfr.so.1. For Natty, libmpfr-dev 3.0.0-7 pulls in libmpfr4, which has
> libmpfr.so.4 -- this is presumably what you'll get a dependency on if you
> compile gccgo on Natty. So libmpfr-dev should work (as would depending on
> libmpfr4 | libmpfr1ldbl if we didn't want the dev package for some
> reason, but there's no harm in it).
So if libmpfr-dev will make it work, I'm fine with that. What's weird is
that on a natty test machine where libmpfr1ldbl isn't installed, running
ldd on go1 gives "libmpfr.so.1 => not found", but also "libmpfr.so.4
=> /usr/lib/libmpfr.so.4", the latter apparently from libmpfr4.
I compiled this from source on a Lucid machine about a year ago; I had
installed libmpfr-dev to make it compile. I suppose I could recompile on
natty but I'd like to keep using the current binaries for a while...
A.