[R] [Rd] Error loading libraries in MAC
simon.urbanek at r-project.org
Sat Apr 21 03:21:28 CEST 2007
On Apr 19, 2007, at 4:54 PM, Matthew Keller wrote:
> HI Mayte & Gregory,
> This is probably a question needing to be posted to r-sig-mac. A
> search for this problem on that forum turns up lots of hits. I
> think everyone is having these problems (which makes me pause about
> whether to switch to Mac, given how much I use R).
Sorry about that - it shouldn't make you pause as it was just a
glitch in my build script because we changed compilers for the
upcoming R 2.5.0 release.
It's all fixed now, the updated packages are on the master machine
and should spread through the mirrors as we speak. (For those
impatient, you can use http://r.research.att.com as a mirror to get
the updated packages right now).
PS: To all: for Mac-related issues, please, always use R-SIG-Mac -
read it and post there if you have problems. I usually try to respond
> On Apr 19, 2007, at 5:47 AM, Byron Ellis wrote:
>> Actually it appears that a variety of packages are doing this
>> (gtools did it to me earlier today). Looks like there may be a
>> general compilation change, perhaps in preparation for 2.5?
> Yes, indeed, R 2.5.0 doesn't need the 4.0.3 compilers anymore and
> thus no path changes. Unfortunately this seems to have influenced the
> 2.4 builds process. A hot fix is to install gcc4.0.3 from the full
> image of R 2.4.1 (open the installation image, click on "Packages"
> and then "gcc4.0.3" to install) or to use R 2.5.0 RC instead. I'll
> see if I can find the culprit in the meantime...
> On 4/18/07, Gregory Warnes <gregory.warnes at mac.com> 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?
>> 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
>>> 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 ??
>>> Error in dyn.load(x, as.logical(local), as.logical(now)) :
>>> unable to load shared library '/Library/Frameworks/
>>> library/gtools/libs/i386/gtools.so, 6): Library not loaded: /usr/
>>> Referenced from: /Library/Frameworks/R.framework/Versions/2.4/
>>> Reason: image not found
>>> Error: package/namespace load failed for 'gmodels'
>>>  "i386-apple-darwin8.8.1"
>>>  "i386"
>>>  "darwin8.8.1"
>>>  "i386, darwin8.8.1"
>>>  ""
>>>  "2"
>>>  "4.1"
>>>  "2006"
>>>  "12"
>>>  "18"
>>> $`svn rev`
>>>  "40228"
>>>  "R"
>>>  "R version 2.4.1 (2006-12-18)"
>>> R-help at stat.math.ethz.ch mailing list
>>> PLEASE do read the posting guide http://www.R-project.org/posting-
>>> and provide commented, minimal, self-contained, reproducible code.
>> R-help at stat.math.ethz.ch mailing list
>> PLEASE do read the posting guide http://www.R-project.org/posting-
>> and provide commented, minimal, self-contained, reproducible code.
> Matthew C Keller
> Postdoctoral Fellow
> Virginia Institute for Psychiatric and Behavioral Genetics
> R-devel at r-project.org mailing list
More information about the R-help