-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Issue
On ubuntu24.04 we get an error while installing eobs, because Libfortran3 is not installed.
(eobs) joran@KNMI-5CG2482BD0:~/eobs$ Rscript -e "packageurl<-'eobs.tar.gz'; install.packages(packageurl, repos=NULL,type='source')"
* installing *source* package ‘eobs’ ...
** using staged installation
** libs
make: Nothing to be done for 'all'.
installing to /home/joran/eobs/miniforge/installation/envs/eobs/lib/R/library/00LOCK-eobs/00new/eobs/libs
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
Error: package or namespace load failed for ‘eobs’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/home/joran/eobs/miniforge/installation/envs/eobs/lib/R/library/00LOCK-eobs/00new/eobs/libs/eobs.so':
/home/joran/eobs/miniforge/installation/envs/eobs/lib/R/bin/exec/../../lib/../.././libgfortran.so.5: version `GFORTRAN_1.0' not found (required by /home/joran/eobs/miniforge/installation/envs/eobs/lib/R/library/00LOCK-eobs/00new/eobs/libs/eobs.so)
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/home/joran/eobs/miniforge/installation/envs/eobs/lib/R/library/eobs’
Solution
By downloading the libfortran label from conda forge, we alleviate this issue.
conda install conda-forge/label/cf201901::libgfortran
Note:
Later it seemed that this issue was actually caused by the compiled file https://github.com/ECA-D/eobs/blob/master/src/eobs.so.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels