[R-sig-Debian] rjags in Ubuntu 10.04

Dirk Eddelbuettel edd at debian.org
Thu May 27 13:31:25 CEST 2010


On 27 May 2010 at 07:15, Michael Rutter wrote:
| 
| 
| On 05/27/2010 05:23 AM, Scott Brogan wrote:
| > I've not been able to install rjags successfully in Ubuntu 10.04 :
| >
| > ** testing if installed package can be loaded
| > Error : .onLoad failed in loadNamespace() for 'rjags', details:
| >    call: dyn.load(file, DLLpath = DLLpath, ...)
| >    error: unable to load shared library
| > '/home/scott/R/i486-pc-linux-gnu-library/2.11/rjags/libs/rjags.so':
| >    libjags.so.2: cannot open shared object file: No such file or directory
| > ERROR: loading failed
| >
| > I've tried with different versions of both JAGS&  rjags; lastly with R
| > 2.11.0, JAGS 2.1.0,&  rjags_2.1.0-4. Could anyone help ?
| >
| 
| Scott,
| 
| I also had trouble installing rjags in 10.04.  I got the same error you 
| did, even though I could see the .so files.  The fix (I think, I tried 
| lots of things) was to run 'ldconfig', then launch R and install the 
| package.  Apparently, my jags install did not update the libraries.

Excellent -- bug in my package as I do 'catch-all' package jags (as opposed
to libjags, libjags-dev, ...) and use packaging default so this got omitted.

Will fix.  Thanks for catching that, and sorry for any inconvenience caused.

Dirk

-- 
  Regards, Dirk



More information about the R-SIG-Debian mailing list