Hi, I am trying to install the package ergm, but I keep getting an error (I believe this is due to the dependency lpSolveAPI) not being compiled correctly.
I have tried searching some fixes but nothing seems to work so far.
In particular, here is the error relating to the compilation of lpSolveAPI:
/usr/bin/ld: cannot find -llapack: No such file or directory
/usr/bin/ld: cannot find -lblas: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [/usr/share/R/share/make/shlib.mk:10: lpSolveAPI.so] Error 1
ERROR: compilation failed for package ‘lpSolveAPI’
* removing ‘/home/alex/R/x86_64-pc-linux-gnu-library/4.3/lpSolveAPI’
Warning in install.packages :
installation of package ‘lpSolveAPI’ had non-zero exit status
Hi, I am trying to install the package ergm, but I keep getting an error (I believe this is due to the dependency lpSolveAPI) not being compiled correctly. I have tried searching some fixes but nothing seems to work so far.
Here is the error I get:
In particular, here is the error relating to the compilation of lpSolveAPI:
Thank you very much for your help!