-
Notifications
You must be signed in to change notification settings - Fork 23
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
Unable to install/use hdf5r due to issues locating libhdf5_hl.so.200 #188
Comments
Hi @SuhasSrinivasan , did you ever find a working solution to this issue? I'm experiencing the same error on my CentOS system. |
Hi @andrew-w-schroeder, please see above. I have identified two issues and provided workarounds for both. |
Hi, The command
seems to work but during import R cannot find static library and fails to load it. How can I force
I solved it by disabling conda env and installing |
System Details
Operating System = CentOS Linux release 7.9.2009 (Core)
R = 4.2.0
The
hdf5
version available through RPM is 1.8.12-13.el7, which is incompatible withhdf5r 1.3.5
.Then, the following solution was used to compile
hdf5 1.12.2
from source.#115 (comment)
But additional issues follow.
Issue 1 - Installation
However, after successfully verifying
hdf5
installation,hdf5r
installation still fails.Workaround for Issue 1
1. Verify the location of hdf5
2. Add LD_LIBRARY_PATH to .Renviron
Verify in R through
Sys.getenv()
that this variable is loaded.Issue 2 - Package loading
This occurs post installation even though .Renviron worked previously.
Workaround for Issue 2
Things that did not work for both Issues 1 and 2
source .bashrc
ldconfig
The text was updated successfully, but these errors were encountered: