Question: rsbml installation Error : .onLoad failed in loadNamespace() for 'rsbml', details: call: dyn.load(file, DLLpath = DLLpath, ...)
0
gravatar for haroon.maximas
3.9 years ago by
United States
haroon.maximas0 wrote:

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

rsbml • 839 views
ADD COMMENTlink modified 3.9 years ago by Michael Lawrence11k • written 3.9 years ago by haroon.maximas0
Answer: rsbml installation Error : .onLoad failed in loadNamespace() for 'rsbml', detail
0
gravatar for Michael Lawrence
3.9 years ago by
United States
Michael Lawrence11k wrote:

Sorry, Martin pointed out that you are on Linux. You probably need to set your LD_LIBRARY_PATH to point to your libsbml lib directory.

ADD COMMENTlink modified 3.9 years ago • written 3.9 years ago by Michael Lawrence11k

Thanks Michael ... I was unaware of ldconfig .. its working fine now.

ADD REPLYlink written 3.9 years ago by haroon.maximas0
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 147 users visited in the last hour