google-deepmind / google-deepmind/torch-hdf5
could not load library /usr/local/lib/libhdf5.a
- Dominant language
- Lua
- Stars
- 241
- Forks
- 125
- PR merge metrics
- No merged PRs in 30d
Description
I had tried several ways to install hdf5 on torch, but always get an error when I require 'hdf5' in torch:
/home/azyl99/torch/install/share/lua/5.2/trepl/init.lua:389: /home/azyl99/torch/install/share/lua/5.2/hdf5/ffi.lua:29: could not load library /usr/local/lib/libhdf5.a
stack traceback:
/home/azyl99/torch/install/share/lua/5.2/trepl/init.lua:506: in function
[C]: in function 'error'
/home/azyl99/torch/install/share/lua/5.2/trepl/init.lua:389: in function 'require'
[string "_RESULT={require 'hdf5'}"]:1: in main chunk
[C]: in function 'xpcall'
/home/azyl99/torch/install/share/lua/5.2/trepl/init.lua:661: in function 'repl'
...yl99/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:204: in main chunk
[C]: in ?
Contributor guide
Research direction
Start with the failing require 'hdf5' entry point and hdf5/ffi.lua:29, where the error reports that /usr/local/lib/libhdf5.a cannot be loaded. Reproduce the require in the reported Torch/Lua environment and determine the expected library path; done means the hdf5 module loads without this error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- data
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100