Page MenuHomeSolus

Problems with R packages und libgfortran
Closed, ResolvedPublic

Description

Due to the update from libgfortran.so.3 to libgfortran.so.4 some essential packages cannot be loaded in R (e.g., lme4 and ez), resulting in the following error message:

Error: package or namespace load failed for ‘lme4’ in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '.../R/x86_64-solus-linux-gnu-library/3.4/minqa/libs/minqa.so': libgfortran.so.3: cannot open shared object file: No such file or directory

Would it be possible to keep libgfortran.so.3 in parallel to libgfortran.so.4? Many thanks for solving the issue.

Event Timeline

nicro created this task.Nov 27 2017, 10:04 AM

Or we rebuild the packages that are effected. libgfortran.so.4 is part of gcc so we won't be providing parallel versions.

Where is minqa? I can't find it.

You have local R packages installed that are built against the old toolchain. You will need to rebuild your packages. I suggest running this to do so in R

install.packages( rownames( installed.packages( ) ) )

Thanks, but

install.packages( rownames( installed.packages( ) ) )

does not solve the issue. Some local packages still require a build against the old toolchain (e.g., lme4).

Is there an error message?

Perhaps it is not getting the dependency order correct given that all the packages are already installed (therefore the dependency is met, even if it doesn't work till a rebuild).

The other option is to remove ~/R (which will remove all R packages, you are welcome to move it rather than delete until it's resolved), and then install the packages you want again and it should then get the build order correct.

The other option is to remove ~/R (which will remove all R packages, you are welcome to move it rather than delete until it's resolved), and then install the packages you want again and it should then get the build order correct.

Thanks, this worked like a charm!

sunnyflunk closed this task as Resolved.Nov 27 2017, 10:56 PM
sunnyflunk claimed this task.