Entering edit mode
Dear Venkatraman,
I encountered the following problems when tried to install the DNAcopy
package 1.27.0 at
http://bioconductor.org/packages/2.9/bioc/html/DNAcopy.html.
Although R CMD install went ok for MacOS 10.5 (Leopard) binary,
library(DNAcopy) produced the following error.
library(DNAcopy)
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object
'/Library/Frameworks/R.framework/Versions/2.14/Resources/library/DNAco
py/lib
s/i386/DNAcopy.so':
dlopen(/Library/Frameworks/R.framework/Versions/2.14/Resources/library
/DNAco
py/libs/i386/DNAcopy.so, 6): Library not loaded:
/Library/Frameworks/R.framework/Versions/2.13/Resources/lib/libR.dylib
Referenced from:
/Library/Frameworks/R.framework/Versions/2.14/Resources/library/DNAcop
y/libs
/i386/DNAcopy.so
Reason: image not found
In addition: Warning message:
In install.packages(c("DNAcopy"), lib =
"/Library/Frameworks/R.framework/Resources/library/", :
installation of package ?DNAcopy? had non-zero exit status
Error: package/namespace load failed for ?DNAcopy?
Here is the error message if I tried to install from the package
source.
R CMD install DNAcopy_1.27.0.tar
* installing to library
?/Library/Frameworks/R.framework/Versions/2.14/Resources/library?
* installing *source* package ?DNAcopy? ...
** libs
*** arch - i386
gfortran-4.2 -arch i386 -fPIC -g -O2 -c cbsWtstats.f -o
cbsWtstats.o
make: gfortran-4.2: Command not found
make: *** [cbsWtstats.o] Error 127
ERROR: compilation failed for package ?DNAcopy?
* removing
?/Library/Frameworks/R.framework/Versions/2.14/Resources/library/DNAco
py?
* restoring previous
?/Library/Frameworks/R.framework/Versions/2.14/Resources/library/DNAco
py?
Could you please help? Thanks!
Best regards,
Julie