[R] Ruuid missing Gtk glib.dylib

David Winsemius dwinsemius at comcast.net
Fri Sep 18 21:25:52 CEST 2009


We are in the same boat (which I think is caused in my case by never  
having been successful in installing a 64 bit version of Gtk+ on my  
Mac, if such a beast exists). My errors are a tad bit different than  
yours. Are you attempting this from an R64 version? I get no error  
when I install Ruuid from the BioConductor binary repository and then  
execute:

library(Ruuid)  # no errors

(This question should have gone to either the Bioconductor mailing  
list or the Mac-sig.list)

-- 
David.

 > sessionInfo()
R version 2.9.2 (2009-08-24)
i386-apple-darwin9.8.0

locale:
en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] Ruuid_1.22.0

loaded via a namespace (and not attached):
[1] tools_2.9.2


This was what happend when I ran the following code in the R64 GUI  
console:
 > source("http://bioconductor.org/biocLite.R")
 >     biocLite("Ruuid")
Using R version 2.9.2, biocinstall version 2.4.12.
Installing Bioconductor version 2.4 packages:
[1] "Ruuid"
Please wait...

Warning in install.packages(pkgs = pkgs, repos = repos, dependencies =  
dependencies,  :
   argument 'lib' is missing: using '/Users/davidwinsemius/Library/R/ 
2.9/library'
Warning: unable to access index for repository http://brainarray.mbni.med.umich.edu/bioc/bin/macosx/leopard/contrib/2.9
trying URL 'http://bioconductor.org/packages/2.4/bioc/bin/macosx/leopard/contrib/2.9/Ruuid_1.22.0.tgz'
Content type 'application/x-gzip' length 70572 bytes (68 Kb)
opened URL
==================================================
downloaded 68 Kb


The downloaded packages are in
	/var/folders/xS/xSUsVXTIHEiP7OLJg2OXmU+++TI/-Tmp-//RtmpoaE55s/ 
downloaded_packages
 > library(Ruuid)
Error in dyn.load(file, DLLpath = DLLpath, ...) :
   unable to load shared library '/Users/davidwinsemius/Library/R/2.9/ 
library/Ruuid/libs/x86_64/Ruuid.so':
   dlopen(/Users/davidwinsemius/Library/R/2.9/library/Ruuid/libs/ 
x86_64/Ruuid.so, 6): Library not loaded: /Library/Frameworks/GTK 
+.framework/Versions/2.14.X11/Resources/lib/libglib-2.0.0.dylib
   Referenced from: /Users/davidwinsemius/Library/R/2.9/library/Ruuid/ 
libs/x86_64/Ruuid.so
   Reason: no suitable image found.  Did find:
	/Library/Frameworks/GTK+.framework/Versions/2.14.X11/Resources/lib/ 
libglib-2.0.0.dylib: no matching architecture in universal wrapper
Error: package/namespace load failed for 'Ruuid'



On Sep 18, 2009, at 2:58 PM, Christopher Bare wrote:

> Hi,
>
> I get an error indicating a missing library from the package 'Ruuid'.
> I suppose this means I should install RGtk. I just thought I'd
> document the error. Maybe a dependency entry is missing?
>
> R 2.9.0
> OS X 10.5.8
>
> Thanks,
>
> - chris
>
>
>> biocLite('Ruuid')
> Using R version 2.9.0, biocinstall version 2.4.12.
> Installing Bioconductor version 2.4 packages:
> [1] "Ruuid"
> Please wait...
>
> Warning: unable to access index for repository
> http://brainarray.mbni.med.umich.edu/bioc/bin/macosx/universal/contrib/2.9
> trying URL 'http://bioconductor.org/packages/2.4/bioc/bin/macosx/universal/contrib/2.9/Ruuid_1.22.0.tgz'
> Content type 'application/x-gzip' length 66343 bytes (64 Kb)
> opened URL
> ==================================================
> downloaded 64 Kb
>
>
> The downloaded packages are in
> 	/var/folders/n3/n3Xa3tJRED4hkXZd5y3QWk+++TI/-Tmp-//RtmpkHt9YC/ 
> downloaded_packages
>> library(Ruuid)
> Error in dyn.load(file, DLLpath = DLLpath, ...) :
>  unable to load shared library
> '/Library/Frameworks/R.framework/Resources/library/Ruuid/libs/i386/ 
> Ruuid.so':
>  dlopen(/Library/Frameworks/R.framework/Resources/library/Ruuid/libs/ 
> i386/Ruuid.so,
> 6): Library not loaded:
> /Library/Frameworks/GTK+.framework/Versions/2.14.X11/Resources/lib/ 
> libglib-2.0.0.dylib
>  Referenced from:
> /Library/Frameworks/R.framework/Resources/library/Ruuid/libs/i386/ 
> Ruuid.so
>  Reason: image not found
> Error: package/namespace load failed for 'Ruuid'
> Error in args(getuuid) : no function to return from, jumping to top  
> level
>
> ------------------------------------------------
> J. Christopher Bare
> Institute for Systems Biology
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

David Winsemius, MD
Heritage Laboratories
West Hartford, CT




More information about the R-help mailing list