When I try to load
igraph 1.2.6 in R on a cluster (CentOS Linux), I receive the following error:
Error: package or namespace load failed for ‘igraph’ in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/Users/itpetersen/Documents/Projects/Bayesian_IRT/packrat/lib/x86_64-pc-linux-gnu/4.0.2/igraph/libs/igraph.so': libglpk.so.36: cannot open shared object file: No such file or directory Execution halted
The odd thing is that
glpk 4 is present via environment module dependency and thus
libglpk.so.40 is provided on the cluster. No symlinks crossing from other versions are provided on the cluster, and the tech support staff verified
libglpk.so itself does not provide symbols to suggest compatibility with other versions. I see the installation’s
igraph.so shows the path to the headers provided by the environment module, but lists
libglpk.so.36 instead of
libglpk.so.40. Tech support staff thought this might reflect a bug (or unwarranted assumption) somewhere in the build.
Here is my session info in R:
R version 4.0.2 (2020-06-22) Platform: x86_64-pc-linux-gnu (64-bit) Running under: CentOS Linux 7 (Core) Matrix products: default BLAS/LAPACK: /opt/ssoft/apps/2020.2/linux-centos7-x86_64/gcc-4.8.5/intel-mkl-2020.2.254-tdhfzki/compilers_and_libraries_2020.2.254/linux/mkl/lib/intel64_lin/libmkl_gf_lp64.so locale:  LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C  LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8  LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8  LC_PAPER=en_US.UTF-8 LC_NAME=C  LC_ADDRESS=C LC_TELEPHONE=C  LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C attached base packages:  stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached):  compiler_4.0.2 tools_4.0.2 packrat_0.5.0
I’m a new user to igraph, so your help is greatly appreciated. Thanks!