[Bioc-devel] .First.lib error in beadarray

Herve Pages hpages at fhcrc.org
Fri Sep 29 23:02:36 CEST 2006


Mark Dunning wrote:
> Hi all,
>
> My package does not seem to like Solaris at all :( Now I am getting the 
> following build ERROR
>
> "Error in dyn.load(x, as.logical(local), as.logical(now)) : 
>          unable to load shared library 
> '/loc/biocbuild/1.9d/Rpacks/beadarray.Rcheck/beadarray/libs/beadarray.so':
>   ld.so.1: R: fatal: relocation error: file 
> /loc/biocbuild/1.9d/Rpacks/beadarray.Rcheck/beadarray/libs/beadarray.so: 
> symbol log2: referenced symbol not found Error: package/namespace load 
> failed for 'beadarray'"
>
> Can anyone advise on this please? Is it another problem with the version of 
> R on Solaris?
>   

Hi Mark,

log2 is not part of the standard C library hence using it leads to
portability
issues like the one you are experiencing on Solaris (log2 is not
available on
this OS). You can replace log2(x) by log(x)/log(2.00) to work around this.

Best,
H.



More information about the Bioc-devel mailing list