[R-sig-Debian] KernSmooth not loading in R 2.7.2

Michael Rutter mar36 at psu.edu
Fri Oct 3 01:06:09 CEST 2008


Jeff,

Found the problem.  We needed to rebuild KernSmooth against the new 
version of R (2.7.2), which uses the blas libraries.  I have uploaded 
the new package, but it could take a few hours before it hits the mirrors.

If you need the new package ASAP, I can send it via email.

Sorry for the inconvenience,
Michael

J.H.Gove wrote:
> I just upgraded to R 2.7.2 (from 2.7.1) this morning (Ubuntu amd64 
> platform). Shortly afterwards, I ran into a problem loading the odesolve 
> library, it could not find libRblas.so. I was able to fix this by 
> rebuilding odesolve. Now, KernSmooth gives me the same problem...
> 
> R> library(KernSmooth)
> Error in dyn.load(file, DLLpath = DLLpath, ...) :
> unable to load shared library 
> '/usr/lib/R/library/KernSmooth/libs/KernSmooth.so':
> libRblas.so: cannot open shared object file: No such file or directory
> Error: package/namespace load failed for 'KernSmooth'
> 
> and (note the "not found" below)...
> 
> ldd /usr/lib/R/library/KernSmooth/libs/KernSmooth.so
>   linux-vdso.so.1 =>  (0x00007fff3a5fe000)
>   libRblas.so => not found
>   libgfortran.so.2 => /usr/lib/libgfortran.so.2 (0x00007fb132100000)
>   libm.so.6 => /lib/libm.so.6 (0x00007fb131e7e000)
>   libR.so => /usr/lib/R/lib/libR.so (0x00007fb13195e000)
>   libc.so.6 => /lib/libc.so.6 (0x00007fb1315fc000)
>   libblas.so.3gf => /usr/lib/libblas.so.3gf (0x00007fb131381000)
>   libreadline.so.5 => /lib/libreadline.so.5 (0x00007fb131141000)
>   libpcre.so.3 => /usr/lib/libpcre.so.3 (0x00007fb130f1b000)
>   libz.so.1 => /usr/lib/libz.so.1 (0x00007fb130d03000)
>   libdl.so.2 => /lib/libdl.so.2 (0x00007fb130aff000)
>   /lib64/ld-linux-x86-64.so.2 (0x00007fb1325d8000)
>   libncurses.so.5 => /lib/libncurses.so.5 (0x00007fb1308c4000)
> 
> If I do ldd on odesolve, the libRblas.so line has  been replaced by...
> 
>   libblas.so.3 => /usr/lib/libblas.so.3 (0x00007fc518ed6000)
> 
> Evidently R 2.7.2 has replaced libRblas.so with libblas.so?
> 
> The problem is that I installed odesolve myself, and so could simply 
> rebuild it. But KernSmooth comes in the r-recommended packages (which I 
> also updated this morning), and is found in /usr/lib/R/library, so I 
> don't want to do an install.packages() on it and have it in two places 
> (i.e., in /usr/local/lib/R/site-library as well). All of the other 
> packages I tried loading in r-recommended worked fine. I assume that 
> KernSmooth needs to be rebuilt and repackaged into r-recommended?
> 
> Thank you in advance.
> 
> Best regards,
> 
> Jeff
> 
> _______________________________________________
> R-SIG-Debian mailing list
> R-SIG-Debian at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-debian

-- 
Dr. Michael A. Rutter
School of Science
Penn State Erie, The Behrend College
Station Road
Erie, PA 16563
http://math.bd.psu.edu/faculty/rutter



More information about the R-SIG-Debian mailing list