-
-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't find libmkl-rt.so.1 to install #477
Comments
UPDATE: I managed to install it after launching Rstudio server while the right environment was activated, but I am still confused as to why I couldn't find an installation of libmkt that included libmkl-rt.so.1 for the system that is outside of miniconda. Any tips? |
Could you clarify what you installed exactly? You mean I'm not sure what the connection with miniconda is? You are trying to run R from a conda environment? In that case, it is probably easier to install Did the proposed solution of installing |
Thanks for the reply, and sorry for the confusion. The connection with conda is that after trying to install libkml with I had to point igraph to that libmkl, because the libmkl I installed with apt-get didn't have libkml-rt.so.1 as was being demanded by I suppose I'm wondering if it's normal for igraph to be requesting libmkl-rt.so.1 when it's not in the standard installation of libmkl. If you're not sure that's ok, but thought i would see if you've heard of others struggling to install igraph with this same issue related to libmkl. |
What exactly are you doing when you say that you are "installing" igraph? Are you trying to install a pre-compiled binary? If yes, from where, and how? Or are you trying to compile it yourself? If yes, which version, and how? igraph does not depend on the MKL. It just requires a BLAS and a LAPACK implementation. The MKL is one of many libraries that can provide that. It seems that your version of igraph was compiled to link to the MKL. This is why I asked where you got it. I believe that the precompiled version of igraph on CRAN has nothing in it that makes it want to link to the MKL. So I guess you didn't get it from CRAN. |
Thanks. So something strange is happening in my installation then because it is trying to install through compilation by default. I first tried installing another package called Seurat through Thanks |
I don't think there are precompiled binaries available for Linux on CRAN, only for macOS and for Windows.
To be clear, the error about |
I'm sorry, I didn't realize this. |
Sorry for the slow reply here. Thanks |
This is still an open issue for me, see my post in #275. I get the exact same message as in the first post here and I can also reproduce the error if needed. I installed libmkl-r and libmkl-dev but it did not help. |
Update: I solved it, see my answer here: #275 (comment) |
This didn't work for me. Even after renaming, 'locate' still seem to find those inside anaconda3/libs as well as anaconda3/pkgs and R hit the same error whjen installing igraph. I just uninstalled anaconda finally and then normally installed igraph from Rstudio. For context, I upgraded OS from Ubuntu 18.04 to 22.04. So understandably I couldn't build on a backed up home directory with previously installed anaconda, R versions etc., So uninstalling and re-installgin did the trick. This will indeed however lead to a lot of time consuming installations across, R and conda |
I'm trying to install igraph, repeatedly failing as it can't find shared mkl library.
I installed the library with apt-get, but it doesn't include libmkl-rt.so.1, only libmkl-rt.so
I found the .so.1 file in my miniconda installation, and linked to there with
export $LD_LIBRARY_PATH=/home/daniel/miniconda/lib:/usr/lib
, but it still is failing to install with the following errorAny ideas?
Using R-4.1.1 in Ubuntu 20.04
Here is the relevant parts of the environment:
reference issue #335
The text was updated successfully, but these errors were encountered: