[Rd] [R] Error loading libraries in MAC

Sean Davis sdavis2 at mail.nih.gov
Thu Apr 19 12:08:25 CEST 2007


I'll chime in to note the same.  And just to add, sometimes restarting R seems 
to alleviate the problem....

On Wednesday 18 April 2007 18:58, Gregory Warnes wrote:
> I have received a number of reports of problems with recent unversal
> Mac packages from CRAN when used with R 2.4.1.  Has something in the
> build script changed?
>
> -G
>
> On Apr 18, 2007, at 4:49PM , Mayte Suarez-Farinas wrote:
> > Hi I just installed the gmodels package
> > and the installation was successful but when I was trying to load the
> > library I got an error (see below).
> > Interesting, yesterday I wrote to the maintainer of RSQLite apckage
> > because I got the same error.
> > Does somebody knows what is going on ??
> >
> > thanks,
> > Mayte
> >
> >
> > library(gmodels)
> > Error in dyn.load(x, as.logical(local), as.logical(now)) :
> > 	unable to load shared library '/Library/Frameworks/R.framework/
> > Versions/2.4/Resources/library/gtools/libs/i386/gtools.so':
> >    dlopen(/Library/Frameworks/R.framework/Versions/2.4/Resources/
> > library/gtools/libs/i386/gtools.so, 6): Library not loaded: /usr/
> > local/gcc4.0/i686-apple-darwin8/lib/libgcc_s.1.0.dylib
> >    Referenced from: /Library/Frameworks/R.framework/Versions/2.4/
> > Resources/library/gtools/libs/i386/gtools.so
> >    Reason: image not found
> > Error: package/namespace load failed for 'gmodels'
> >
> > R.Version()
> > $platform
> > [1] "i386-apple-darwin8.8.1"
> >
> > $arch
> > [1] "i386"
> >
> > $os
> > [1] "darwin8.8.1"
> >
> > $system
> > [1] "i386, darwin8.8.1"
> >
> > $status
> > [1] ""
> >
> > $major
> > [1] "2"
> >
> > $minor
> > [1] "4.1"
> >
> > $year
> > [1] "2006"
> >
> > $month
> > [1] "12"
> >
> > $day
> > [1] "18"
> >
> > $`svn rev`
> > [1] "40228"
> >
> > $language
> > [1] "R"
> >
> > $version.string
> > [1] "R version 2.4.1 (2006-12-18)"
> >
> >
> >
> > ______________________________________________
> > R-help at stat.math.ethz.ch 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.
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



More information about the R-devel mailing list