rsbml installation Error : .onLoad failed in loadNamespace() for 'rsbml', details: call: dyn.load(file, DLLpath = DLLpath, ...)
1
0
Entering edit mode
@haroonmaximas-8197
Last seen 3.4 years ago
United States

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 • 1.8k views
ADD COMMENT
0
Entering edit mode
@michael-lawrence-3846
Last seen 3.0 years ago
United States

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 COMMENT
0
Entering edit mode

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

ADD REPLY

Login before adding your answer.

Traffic: 631 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6