-
Today when running a targets pipeline I got this error:
Got rid of the error installing libglpk-dev (got the idea from https://stackoverflow.com/a/71610023/1873521). On Ubuntu 22.04: Just wanted to leave it here in case it is useful to someone. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Definitely an |
Beta Was this translation helpful? Give feedback.
-
I would not call this an "igraph issue", rather GLPK is a dependency of igraph. Since CRAN does not provide binaries for Linux, you must compile R packages yourself, and you need to ensure that all dependencies are present, both at and after installation time. Normally, if GLPK is not present when installing igraph, then GLPK support will simply be disabled. There will be no error messages. If you see the error
For future reference, the Installation Troubleshooting FAQ is here: https://github.com/igraph/rigraph/wiki/Installation-Troubleshooting |
Beta Was this translation helpful? Give feedback.
-
@gorkang Since you can reproduce this problem, if you could answer the two questions here, that would be quite helpful for improving the igraph installation experience. |
Beta Was this translation helpful? Give feedback.
Definitely an
igraph
issue. I have been grappling with related variants of this issue on and off since I starteddrake
in late 2016. I write GitHub Actions workflows fortargets
withsudo apt-get install libglpk-dev libglpk40
.