On Wed, 2017-08-02 at 15:30 -0400, Tom Callaway wrote:> On 08/02/2017 03:09 PM, Jeff Trefftzs wrote:
> > I just installed Fedora 26 on my laptop, and R now fails to load.
> > The
> > error message is missing libgfortran.so.3. Does anyone have a fix
> > for
> > this? FC 26 comes with R-3.4.1 as an RPM, but it throws the error,
> > as
> > does trying to compile R-3.4.1 from source.
>
> Looking at my Fedora 26 system:
>
> [spot at localhost ~]$ rpm -q R-core
> R-core-3.4.1-1.fc26.x86_64
>
> [spot at localhost ~]$ rpm -q R-core --requires |grep libgfortran
> libgfortran.so.4()(64bit)
> libgfortran.so.4(GFORTRAN_7)(64bit)
>
> I'm not sure how you ended up with an R package that depends on
> libgfortran.so.3, unless you have one for an older Fedora. In Fedora
> 26,
> libgfortran.so.4 is provided by libgfortran.
>
Thanks for the tip. I think I just had the pre-update installation of
R-3.4.1 left over from FC 25. Uninstalling it and reinstalling the FC
26 version seems to have fixed things.
> ~tom
--
Jeff Trefftzs
http://www.trefftzs.org