I am trying to install rsbml package using bioconductor and encountered the error as :
Error : .onLoad failed in loadNamespace() for 'rsbml', details:
call: dyn.load(file, DLLpath = DLLpath, ...)
error: unable to load shared object '/home/haroon/R/x86_64-pc-linux-gnu-library/3.2/rsbml/libs/rsbml.so':
libsbml.so.5: cannot open shared object file: No such file or directory
Error: loading failed
Command used
source("https://bioconductor.org/biocLite.R") biocLite("rsbml")
I am on a 64bit linux system with working libSBML as I can read models using python. Here is my session info
R version 3.2.3 (2015-12-10)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 14.04.3 LTS
locale:
[1] LC_CTYPE=en_IN.UTF-8 LC_NUMERIC=C LC_TIME=en_IN.UTF-8 LC_COLLATE=en_IN.UTF-8
[5] LC_MONETARY=en_IN.UTF-8 LC_MESSAGES=en_IN.UTF-8 LC_PAPER=en_IN.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=en_IN.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] BiocInstaller_1.20.1
loaded via a namespace (and not attached):
[1] tools_3.2.3
As mentioned here difficulty loading rsbml I configured PKG_CONFIG_PATH to directory containing libsbml.pc but still no success.
I can launch
>library("libSBML")
as well.
libSBML source was downloaded from http://sourceforge.net/projects/sbml/files/libsbml/5.12.0/stable/
R interface was downloaded from http://sourceforge.net/projects/sbml/files/libsbml/5.12.0/stable/R%20interface/
Any help would be great
Thanks Michael ... I was unaware of ldconfig .. its working fine now.