Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 420409 - dev-lang/R-2.15.0, R fails to start because GFORTRAN_1.4 not found in /usr/lib64/libf77blas.so.3
Summary: dev-lang/R-2.15.0, R fails to start because GFORTRAN_1.4 not found in /usr/l...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 420315 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-06-09 14:50 UTC by Juergen Rose
Modified: 2012-06-12 09:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2012-06-09 14:50:48 UTC
If I tried to start R after gcc upgrade to 4.6.3, it fails with:

root@impala:/root(22)# R
/usr/lib64/R/bin/exec/R: /usr/lib64/gcc/x86_64-pc-linux-gnu/4.5.3/libgfortran.so.3: version `GFORTRAN_1.4' not found (required by /usr/lib64/libf77blas.so.3)

After reemerging sci-libs/atlas and R it works again:

root@impala:/root(28)# genlop -t atlas | tail

     Tue Feb 21 01:50:52 2012 >>> sci-libs/atlas-3.9.67
       merge time: 15 minutes and 40 seconds.

     Tue Feb 21 09:05:48 2012 >>> sci-libs/atlas-3.8.4
       merge time: 12 minutes and 56 seconds.

     Sun Jun  3 22:07:01 2012 >>> sci-libs/atlas-3.8.4
       merge time: 10 minutes and 23 seconds.

root@impala:/root(29)# genlop -t atlas | tail

     Tue Feb 21 09:05:48 2012 >>> sci-libs/atlas-3.8.4
       merge time: 12 minutes and 56 seconds.

     Sun Jun  3 22:07:01 2012 >>> sci-libs/atlas-3.8.4
       merge time: 10 minutes and 23 seconds.

     Sat Jun  9 16:36:06 2012 >>> sci-libs/atlas-3.8.4
       merge time: 10 minutes and 16 seconds.

root@impala:/root(30)# R
/usr/lib64/R/bin/exec/R: /usr/lib64/gcc/x86_64-pc-linux-gnu/4.5.3/libgfortran.so.3: version `GFORTRAN_1.4' not found (required by /usr/lib64/libf77blas.so.3)
root@impala:/root(31)# genlop -t R | tail

     Wed Apr  4 10:07:22 2012 >>> dev-lang/R-2.15.0
       merge time: 7 minutes and 46 seconds.

     Fri Apr  6 13:42:56 2012 >>> dev-lang/R-2.15.0
       merge time: 7 minutes and 48 seconds.

     Wed Apr 25 05:19:58 2012 >>> dev-lang/R-2.15.0
       merge time: 7 minutes and 50 seconds.

root@impala:/root(32)# R

R version 2.15.0 (2012-03-30)
Copyright (C) 2012 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> 
Save workspace image? [y/n/c]: n
root@impala:/root(33)# genlop -t R | tail

     Fri Apr  6 13:42:56 2012 >>> dev-lang/R-2.15.0
       merge time: 7 minutes and 48 seconds.

     Wed Apr 25 05:19:58 2012 >>> dev-lang/R-2.15.0
       merge time: 7 minutes and 50 seconds.

     Sat Jun  9 16:44:51 2012 >>> dev-lang/R-2.15.0
       merge time: 6 minutes and 42 seconds.
Comment 1 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-06-09 15:05:53 UTC
(In reply to comment #0)
> After reemerging sci-libs/atlas and R it works again:
So where's the bug here? You've switched gfortran version, compiled atlas. This made atlas require newer libgfortran and then you've used R which was compiled with old libgfortran. Both of them were loaded at R's runtime and clashed...

Please read gcc upgrading guide[1]. Whatever is written about C++ ABI there applies for fortran as well.

[1] http://www.gentoo.org/doc/en/gcc-upgrading.xml
Comment 2 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-06-12 09:39:13 UTC
*** Bug 420315 has been marked as a duplicate of this bug. ***