Missing libmpfr.so.1 when using gfortran 4.5

Toon Moene toon@moene.org
Tue Nov 3 19:52:00 GMT 2009


Paul van Delst wrote:

> I just downloaded the 4.5 binaries (linux stripped, static build from Coudert's site via
> the gfortran wiki) and when I attempt to compile I get:
> 
> /home/me/local/gfortran/fr/usr/local/gfortran/bin/../libexec/gcc/i686-pc-linux-gnu/4.5.0/f951:
> error while loading shared libraries: libmpfr.so.1: cannot open shared object file: No
> such file or directory
> 
> The 4.4 version (static build from Tobias's site) works fine.
> 
> I was under the impression that the mpfr library has been in use by gfortran since 4.3 so
> I'm a bit puzzled. Does anyone have any idea where this library might reside on a Red Hat
> Enterprise 5.0 install? (I can't find it in the usual places) Or is it the "stripped" part
> of the 4.5 static build that means that library isn't included (the assumption being it is
> usually available on linux systems)? Or something else?

Tobias' method of offering statically built compilers is safer, in the 
sense that it doesn't assume that certain libraries are present on the 
user's system.

Unfortunately, I do not know where libmpfr.so.1 is on Red Hat Enterprise 
systems (and more importantly, I do not know whether it is up to date - 
gfortran requires a specific version or above; I use Debian Testing's 
MPFR version 2.4.1-p2.

Hope this helps,

-- 
Toon Moene - e-mail: toon@moene.org - phone: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
At home: http://moene.org/~toon/
Progress of GNU Fortran: http://gcc.gnu.org/gcc-4.5/changes.html



More information about the Fortran mailing list