I'm having some issues installing the package
sybilSBML in R to load metabolic models in *.sbml format. I've checked other threads but I can't seem to find the right way to solve my problem.
When I try to install the package, I get the following error:
Error: package or namespace load failed for ‘sybilSBML’ in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/Library/Frameworks/R.framework/Versions/3.4/Resources/library/sybilSBML/libs/sybilSBML.so': dlopen(/Library/Frameworks/R.framework/Versions/3.4/Resources/library/sybilSBML/libs/sybilSBML.so, 6): Library not loaded: libsbml.5.dylib Referenced from: /Library/Frameworks/R.framework/Versions/3.4/Resources/library/sybilSBML/libs/sybilSBML.so Reason: image not found Error: loading failed Execution halted ERROR: loading failed * removing ‘/Library/Frameworks/R.framework/Versions/3.4/Resources/library/sybilSBML’ Warning in install.packages : installation of package ‘sybilSBML’ had non-zero exit status
I have already installed
libSBML. What I understand is that the path to the library is not correct? I've found that
DYLD_LIBRARY_PATH plays a role somehow. Also, I have no clue where this
Please consider that I'm not a savvy in coding. I'm a regular -basic to intermediate- R user.
Thank you in advance!