Skip to content

igraph failing to compile due to missing libgfortran.so.4 (Arch based Linux) #275

Closed
@OscarSouth

Description

A broken dependency for igraph is preventing me from installing many R libraries which depend on igraph.

I attempted to install with install.packages() and with devtools, both failed in same manner:

** testing if installed package can be loaded
Error: package or namespace load failed for ‘igraph’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/home/oscarsouth/R/x86_64-pc-linux-gnu-library/3.5/igraph/libs/igraph.so':
  libgfortran.so.4: cannot open shared object file: No such file or directory
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/home/oscarsouth/R/x86_64-pc-linux-gnu-library/3.5/igraph’
Installation failed: Command failed (1)

libgfortran.so.5 is showing up here:

$ lddtree /usr/lib64/R/bin/exec/R
/usr/lib64/R/bin/exec/R (interpreter => /lib64/ld-linux-x86-64.so.2)
    libR.so => /usr/lib/R/lib/libR.so
        libblas.so.3 => /lib64/libblas.so.3
            libgfortran.so.5 => /lib64/libgfortran.so.5
                libquadmath.so.0 => /usr/lib/libquadmath.so.0
                libgcc_s.so.1 => /usr/lib/libgcc_s.so.1

R version 3.5.0 (2018-04-23)
gcc (GCC) 8.1.0

I've tried all the solutions I can find from Google. Is there any solution to this at present?

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions