[R-SIG-Mac] problem installing lme4 package with R 2.9.0
Prof Brian Ripley
ripley at stats.ox.ac.uk
Tue May 26 22:31:24 CEST 2009
I think there's a bit more to it than that. If packages using
gfortran needed /usr/local/lib/libgfortran.2.dylib, e.g. package stats
would not work. It is linked against
/Library/Frameworks/R.framework/Versions/2.9/Resources/lib/libgfortran.2.dylib
(compatibility version 3.0.0, current version 3.0.0)
And the version of lme4 I downloaded from CRAN just now is the same.
It is 0.999375-28, built 2008-04-17 (the latest is 0.999375-31, but
lme4 fails its tests and so needs to be handled manually). That's the
'universal' binary package, picked up by the standard CRAN binary.
So, where did the lme4 package build come from?
On Tue, 26 May 2009, Steve Lianoglou wrote:
> Hi Robert,
>
> On May 26, 2009, at 1:13 PM, Robert Seyfarth wrote:
>
>> When attempting to install the lme4 package I get the following error
>> message:
>>
>>> Error in dyn.load(file, DLLpath = DLLpath, ...) :
>>> unable to load shared library
>>> '/Library/Frameworks/R.framework/Versions/2.9/Resources/library/lme4/libs/i386/lme4.so':
>>> dlopen(/Library/Frameworks/R.framework/Versions/2.9/Resources/library/lme4/libs/i386/lme4.so,
>>> 6): Library not loaded: /usr/local/lib/libgfortran.2.dylib
>>> Referenced from:
>>> /Library/Frameworks/R.framework/Versions/2.9/Resources/library/lme4/libs/i386/lme4.so
>>> Reason: image not found
>>> Error: package/namespace load failed for 'lme4'
>> But when I look in the library folder lme4.so is there.
>>
>> Thanks for any help...
>
>
> I think this error message is saying that it can't load the
> libgfortran.2.dylib library in:
>
> /usr/local/lib/libgfortran.2.dylib
>
> Do you have this file? If not, I believe this library should be installed by
> the full (not the mini) R installer (since it also installs gfortran by
> default), so if you don't have it, try to install gfortran from there.
>
> Hope that helps,
> -steve
>
> --
> Steve Lianoglou
> Graduate Student: Physiology, Biophysics and Systems Biology
> Weill Medical College of Cornell University
>
> http://cbio.mskcc.org/~lianos
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-SIG-Mac
mailing list