[R-SIG-Mac] grDevices won't load

Steven McCarroll smccarro at broad.mit.edu
Sun May 28 00:54:15 CEST 2006


Installed R (2.4.0) on new dual-G5 Mac (OS X 10.4.4), on startup get  
the following errors involving inability to load grDevices (and then  
subsequently can't use graphics functions or any other packages that  
have graphics dependencies).  Have scanned earlier posts and the R  
for Mac Wiki for clues, and have learned that there are potential  
issues with library versioning, but am at a loss as to which  
libraries may need fixing, or how to fix them (the details of this  
case seem different from those examples).  Thanks in advance for your  
ideas:



Error in dyn.load(x, as.logical(local), as.logical(now)) :
	unable to load shared library '/Library/Frameworks/R.framework/ 
Resources/library/grDevices/libs/ppc/grDevices.so':
   dlopen(/Library/Frameworks/R.framework/Resources/library/grDevices/ 
libs/ppc/grDevices.so, 6): Symbol not found: ___mulsc3
   Referenced from: /Library/Frameworks/R.framework/Versions/2.4/ 
Resources/lib/libgfortran.0.dylib
   Expected in: flat namespace
Loading required package: grDevices
Error in dyn.load(x, as.logical(local), as.logical(now)) :
	unable to load shared library '/Library/Frameworks/R.framework/ 
Resources/library/grDevices/libs/ppc/grDevices.so':
   dlopen(/Library/Frameworks/R.framework/Resources/library/grDevices/ 
libs/ppc/grDevices.so, 6): Symbol not found: ___mulsc3
   Referenced from: /Library/Frameworks/R.framework/Versions/2.4/ 
Resources/lib/libgfortran.0.dylib
   Expected in: flat namespace
In addition: Warning message:
package grDevices in options("defaultPackages") was not found
Error: package 'grDevices' could not be loaded


[Steven-McCarrolls-G5-Tower:/usr/local/lib] smccarro% ls -l /usr/ 
local/lib
total 7560
-r-xr-xr-x   1 root  wheel  2105617 Feb  3 12:45 libtcl8.4.dylib
-rw-r--r--   1 root  wheel     4748 Feb  3 12:45 libtclstub8.4.a
-r-xr-xr-x   1 root  wheel  1730452 Feb  3 12:46 libtk8.4.dylib
-rw-r--r--   1 root  wheel     6236 Feb  3 12:46 libtkstub8.4.a
-rw-r--r--   1 root  wheel     7458 Feb  3 12:45 tclConfig.sh
-rw-r--r--   1 root  wheel     3619 Feb  3 12:46 tkConfig.sh
[Steven-McCarrolls-G5-Tower:/usr/local/lib] smccarro% ls -l /sw/lib
total 14768
drwxr-xr-x   3 root  admin      102 Jun  2  2005 apt
drwxr-xr-x   7 root  admin      238 Jun  2  2005 dpkg
drwxr-xr-x   6 root  admin      204 Jun  2  2005 fink
-rw-r--r--   1 root  admin   790708 Jun  2  2005 libapt-inst.1.0.0.dylib
lrwxr-xr-x   1 root  admin       23 May 24 22:52 libapt-inst. 
1.0.dylib -> libapt-inst.1.0.0.dylib
-rw-r--r--   1 root  admin  1308600 Jun  2  2005 libapt-pkg.3.2.0.dylib
lrwxr-xr-x   1 root  admin       22 May 24 22:52 libapt-pkg.3.2.dylib  
-> libapt-pkg.3.2.0.dylib
-rwxr-xr-x   1 root  admin    65712 Jun  2  2005 libbz2.1.0.2.dylib
lrwxr-xr-x   1 root  admin       18 May 24 22:52 libbz2.1.dylib ->  
libbz2.1.0.2.dylib
lrwxr-xr-x   1 root  admin       18 May 24 22:52 libbz2.dylib ->  
libbz2.1.0.2.dylib
-rw-r--r--   1 root  admin    12976 Jun  2  2005 libcharset.1.0.0.dylib
lrwxr-xr-x   1 root  admin       22 May 24 22:52 libcharset.1.dylib - 
 > libcharset.1.0.0.dylib
-rw-r--r--   1 root  admin     8056 Jun  2  2005 libcharset.a
lrwxr-xr-x   1 root  admin       22 May 24 22:52 libcharset.dylib ->  
libcharset.1.0.0.dylib
-rw-r--r--   1 root  admin      809 Jun  2  2005 libcharset.la
-rw-r--r--   1 root  admin    60244 Jun  2  2005 libform.5.dylib
-rw-r--r--   1 root  admin    94232 Jun  2  2005 libform.a
lrwxr-xr-x   1 root  admin       15 May 24 22:52 libform.dylib ->  
libform.5.dylib
lrwxr-xr-x   1 root  admin       23 May 24 22:52 libform.dylib.5 -> / 
sw/lib/libform.5.dylib
-rw-r--r--   1 root  admin   274816 Jun  2  2005 libform_g.a
-rw-r--r--   1 root  admin  1087556 Jun  2  2005 libiconv.2.2.0.dylib
lrwxr-xr-x   1 root  admin       20 May 24 22:52 libiconv.2.dylib ->  
libiconv.2.2.0.dylib
lrwxr-xr-x   1 root  admin       20 May 24 22:52 libiconv.dylib ->  
libiconv.2.2.0.dylib
-rw-r--r--   1 root  admin      785 Jun  2  2005 libiconv.la
-rw-r--r--   1 root  admin    73752 Jun  2  2005 libintl.1.0.1.dylib
lrwxr-xr-x   1 root  admin       19 May 24 22:52 libintl.1.dylib ->  
libintl.1.0.1.dylib
-rw-r--r--   1 root  admin    93200 Jun  2  2005 libintl.a
lrwxr-xr-x   1 root  admin       19 May 24 22:52 libintl.dylib ->  
libintl.1.0.1.dylib
-rw-r--r--   1 root  admin      734 Jun  2  2005 libintl.la
-rwxr-xr-x   1 root  admin   140652 May 15  2005 libjpeg.62.0.0.dylib
lrwxr-xr-x   1 root  admin       20 May 24 23:01 libjpeg.62.dylib ->  
libjpeg.62.0.0.dylib
-rw-r--r--   1 root  admin   175864 May 15  2005 libjpeg.a
lrwxr-xr-x   1 root  admin       20 May 24 23:01 libjpeg.dylib ->  
libjpeg.62.0.0.dylib
-rwxr-xr-x   1 root  admin      647 May 15  2005 libjpeg.la
-rw-r--r--   1 root  admin    32328 Jun  2  2005 libmenu.5.dylib
-rw-r--r--   1 root  admin    51384 Jun  2  2005 libmenu.a
lrwxr-xr-x   1 root  admin       15 May 24 22:52 libmenu.dylib ->  
libmenu.5.dylib
lrwxr-xr-x   1 root  admin       23 May 24 22:52 libmenu.dylib.5 -> / 
sw/lib/libmenu.5.dylib
-rw-r--r--   1 root  admin   150136 Jun  2  2005 libmenu_g.a
-rwxr-xr-x   1 root  admin   127016 Jun  2  2005 libncurses++.a
-rw-r--r--   1 root  admin   285008 Jun  2  2005 libncurses.5.dylib
-rw-r--r--   1 root  admin   507280 Jun  2  2005 libncurses.a
lrwxr-xr-x   1 root  admin       18 May 24 22:52 libncurses.dylib ->  
libncurses.5.dylib
lrwxr-xr-x   1 root  admin       26 May 24 22:52 libncurses.dylib.5 - 
 > /sw/lib/libncurses.5.dylib
-rw-r--r--   1 root  admin  1090824 Jun  2  2005 libncurses_g.a
-rw-r--r--   1 root  admin    15100 Jun  2  2005 libpanel.5.dylib
-rw-r--r--   1 root  admin    17176 Jun  2  2005 libpanel.a
lrwxr-xr-x   1 root  admin       16 May 24 22:52 libpanel.dylib ->  
libpanel.5.dylib
lrwxr-xr-x   1 root  admin       24 May 24 22:52 libpanel.dylib.5 -> / 
sw/lib/libpanel.5.dylib
-rw-r--r--   1 root  admin    54176 Jun  2  2005 libpanel_g.a
-r-xr-xr-x   1 root  admin   346620 May 15  2005 libtiff.3.6.1.dylib
lrwxr-xr-x   1 root  admin       19 May 24 23:01 libtiff.3.dylib ->  
libtiff.3.6.1.dylib
-rw-r--r--   1 root  admin   480008 May 15  2005 libtiff.a
lrwxr-xr-x   1 root  admin       15 May 24 23:01 libtiff.dylib ->  
libtiff.3.dylib
drwxr-xr-x   6 root  admin      204 Jun  2  2005 ncurses
drwxr-xr-x   5 root  admin      170 Jun  2  2005 perl5
-rwxr-xr-x   1 root  admin    46720 Jun  2  2005 rmt
lrwxr-xr-x   1 root  admin       17 May 24 22:52 terminfo -> ../share/ 
terminfo



More information about the R-SIG-Mac mailing list