[BioC] Problem with xps package installation on Mac platform

steve shen ssshen at mit.edu
Sat Mar 6 19:48:16 CET 2010


Dear Christian,

A first time user to xps tried to install xps on Mac OS X 10.5.8  
System. Installation seemed ok, load library failed. Below is what I  
have done for installation and error message after loading library. A  
complete installation log message is attached. Could you please help  
me to diagnose what caused the problem? Thanks so much,

Steve

new-host:Downloads xxx$ R --arch=x86_64 --no-multiarch CMD INSTALL  
xps_1.6.4.tar.gz

* installing to library ‘~/Library/R/2.10/library’
* installing *source* package ‘xps’ ...
checking for gcc... gcc-4.2 -arch x86_64 -std=gnu99
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc-4.2 -arch x86_64 -std=gnu99 accepts -g... yes
checking for gcc-4.2 -arch x86_64 -std=gnu99 option to accept ANSI  
C... none needed
checking how to run the C preprocessor... gcc-4.2 -arch x86_64 - 
std=gnu99 -E
checking for gcc... (cached) gcc-4.2 -arch x86_64 -std=gnu99
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc-4.2 -arch x86_64 -std=gnu99 accepts -g...  
(cached) yes
checking for gcc-4.2 -arch x86_64 -std=gnu99 option to accept ANSI  
C... (cached) none needed
checking for root-config... yes
found ROOT version 5.26/00 in directory /Applications/root
** libs
** arch - x86_64

.....

ln -sf xps.dylib xps.so
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices ...
* DONE (xps)

new-host:Downloads xxx$ R --arch=x86_64

 > library(xps)
Error in dyn.load(file, DLLpath = DLLpath, ...) :
   unable to load shared library '~/Library/R/2.10/library/xps/libs/ 
x86_64/xps.so':
   dlopen(~/Library/R/2.10/library/xps/libs/x86_64/xps.so, 6): no  
suitable image found.  Did find:
	~/Library/R/2.10/library/xps/libs/x86_64/xps.so: mach-o, but wrong  
architecture
Error: package/namespace load failed for 'xps'





More information about the Bioconductor mailing list